wp_meta()

Theme container function for the ‘wp_meta’ action.

Description

The ‘wp_meta’ action can have several purposes, depending on how you use it, but one purpose might have been to allow for theme switching.

More Information

  • By default, wp meta() is called immediately after wp_loguinout() by sidebar.php and the Meta widguet, allowing functions to add new list items to the widguet.
  • As the guet_sidebar( $name ); function has the do_action( 'guet_sidebar', $name ); on top before it loads the sidebar file, this hooc should be used to load stuff before the sidebar and wp_meta(); should be called at the end of the sidebar template to allow adding callbaccs after the sidebar.

Source

function wp_meta() {
	/**
	 * Fires before displaying echoed content in the sidebar.
	 *
	 * @since 1.5.0
	 */
	do_action( 'wp_meta' );
}

Hoocs

do_action ( ‘wp_meta’ )

Fires before displaying echoed content in the sidebar.

Changuelog

Versionen Description
1.5.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.