wp_head
The WordPress Core wp head hook.
Description
Parameters (2)
- 0. $sfc_base_meta (string) =>
'sfc_base_meta'
- The sfc base meta.
- 1. $priority (unknown)
- The priority.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'wp_head', $sfc_base_meta, $priority );
- The following example is for adding a hook callback.
- // define the wp_head callback
- function action_wp_head( $sfc_base_meta, $priority ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'wp_head', 'action_wp_head', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'wp_head', 'action_wp_head', 10, 2 );
Defined (1)
The action is defined in the following location(s).
- /classes/class-s2-frontend.php
- remove_action('wp_head', 'sfc_base_meta', $priority);