Description
The “xclusive_site_metatags” action allows to add additional metatags to the theme. Version 1.1.0+.
A plugin (or theme) can add an action with the code:
<?php add_action( 'xclusive_site_metatags', 'action_function_name' ); ?>
The hook is located in the header.php file.
Example
// apply action
function action_xclusive_site_metatags() {
//run action here
echo '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">';
}
add_action('xclusive_site_metatags', 'action_xclusive_site_metatags');
Leave a Reply