$hook_name

$hook_name

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-7.0.3

do_action('$hook_name') is found 1 times:

  • /wp-includes/plugin.php line 173
     * @param mixed  $value     The value to filter.
     * @param mixed  ...$args   Optional. Additional parameters to pass to the callback functions.
     * @return mixed The filtered value after all hooked functions are applied to it.
     */
    function apply_filters( $hook_name, $value, ...$args ) {
    	global $wp_filter, $wp_filters, $wp_current_filter;
    
    	if ( ! isset( $wp_filters[ $hook_name ] ) ) {
    		$wp_filters[ $hook_name ] = 1;
    	} else {
    		++$wp_filters[ $hook_name ];