template-part parameter ignored?
-
In /template-parts/content.php there is the statement:
do_action( ‘neve_blog_post_template_part_content’, ‘single’ );Upon examination of /inc/views/template_parts.php it looks like the parameter ‘single’ (and by extension any parameter in the second position) is not used or even checked at all.
Is this correct?
If this is indeed the case, may I suggest a modification? Please pass that parameter to the get_article_inner_content function and add a hook, perhaps
if (has_action(‘neve_get_article_inner_’ . $param2)) {
add_action(‘neve_get_article_inner_’ . $param2);
return;
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘template-part parameter ignored?’ is closed to new replies.
