unhooking or removing default theme-action.php actions using child theme
The ClassiPress file,
includes/theme-actions.php, contains function definitions and calls to add_action().
For example, the file contains this code:
PHP Code:
add_action( 'appthemes_after_post_content', 'cp_do_loop_stats' );
My question is:
In a child theme, how can I
remove this action and
add my own action (i.e. a function I define) instead?
I tried doing the following in my child theme's
functions.php file:
PHP Code:
remove_action( 'appthemes_after_post_content', 'cp_do_loop_stats' );
...but it does not appear to me to have had any effect on the behavior of the site. The stats are still displayed.