Action hook 'wp_meta'

in WP Core File wp-includes/general-template.php at line 749

View Source

wp_meta

Action Hook
Description
Fires before displaying echoed content in the sidebar.

Hook Information

File Location wp-includes/general-template.php View on GitHub
Hook Type Action
Line Number 749

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into wp_meta
add_action('wp_meta', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-includes/general-template.php:749 - How this hook is used in WordPress core
<?php
 744  	/**
 745  	 * Fires before displaying echoed content in the sidebar.
 746  	 *
 747  	 * @since 1.5.0
 748  	 */
 749  	do_action( 'wp_meta' );
 750  }
 751  
 752  /**
 753   * Displays information about the current site.
 754   *

PHP Documentation

<?php
/**
	 * Fires before displaying echoed content in the sidebar.
	 *
	 * @since 1.5.0
	 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-includes/general-template.php
Related Hooks

Related hooks will be displayed here in future updates.