Does "x_get_view( 'header', 'base' );" remove WordPress version?

Hello,

I want to display my WordPress version in my sites source code.

Does your “x_get_view( ‘header’, ‘base’ );” remove “wp_generator”?

This function is not running, so I’m wondering if your theme is removing it from the header?

Thanks

Hi @NinjaTeX,

The wp_generator function has been removed on purpose. If you want to add it back, assuming the child theme is set up, please add the following code in your child theme’s functions.php file

add_action( 'wp_head', 'wp_generator' ); 

We would love to know if this has worked for you. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.