do_action
-
Hi,
Beginner here. Like so many others, I’m investigating how to remove/change the theme copyright notice in the footer of my site. I’ve discovered several ways to accomplish this, but one question is unanswered. Most remedies consist of altering the code in footer.php, however the actual copyright notice is not present in this file for altering. I believe it is generated somehow from the do_action( ‘catchbase_footer’ ); line of code (see below). Is this correct? If it is correct, can someone please explain where this action is called from? Where does it reside please? Is it generated from an add_action function and if so, where would one look for it? I’ve searched all the theme files and cannot find this ‘catchbase_footer’ string anywhere.Very curious,
Rip<?php /** * The template for displaying the footer * * @package Catch Themes * @subpackage Catch Base * @since Catch Base 1.0 */ ?> <?php /** * catchbase_after_content hook * * @hooked catchbase_content_sidebar_wrap_end - 10 * @hooked catchbase_sidebar_secondary (three-column) - 20 * @hooked catchbase_content_end - 30 * @hooked catchbase_featured_content_display (move featured content below homepage posts) - 40 * */ do_action( 'catchbase_after_content' ); ?> <?php /** * catchbase_footer hook * * @hooked catchbase_footer_content_start - 30 * @hooked catchbase_footer_sidebar - 40 * @hooked catchbase_get_footer_content - 100 * @hooked catchbase_footer_content_end - 110 * @hooked catchbase_page_end - 200 * */ do_action( 'catchbase_footer' ); ?> <?php /** * catchbase_after hook * * @hooked catchbase_scrollup - 10 * @hooked catchbase_mobile_menus- 20 * */ do_action( 'catchbase_after' );?> <?php wp_footer(); ?> </body> </html>
- The topic ‘do_action’ is closed to new replies.