Unset comment_notes_after for any theme
-
The content of a plugin to erase any thing in ‘comment_notes_after’ can be this:
function mytheme_init() { add_filter('comment_form_defaults','mytheme_comments_form_defaults'); } add_action('after_setup_theme','mytheme_init'); function mytheme_comments_form_defaults($default) { unset($default['comment_notes_after']); return $default; }
But don’t works on any theme. In the default theme “Twenty Ten”, works fine, but in the Suffusion don’t works. The theme overwrite this filter. What can I do to override the choices of the theme?
What hook can I use to overwrite options of the theme?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Unset comment_notes_after for any theme’ is closed to new replies.