Codex

Function Reference/wp meta

Contents

Description

Creates the wp_meta action hook, allowing functions to insert content to the sidebar.

By default, wp meta() is called immediately after wp_loginout() by sidebar.php and the Meta widget, allowing functions to add new list items to the widget.

Usage

<?php wp_meta(); ?>

Example

Add a favourite link to the Meta widget:

<?php
function my_meta_link() {
	echo '<li><a href="http://www.example.com">My Favourite Link</a></li>';
}

add_action('wp_meta', 'my_meta_link');
?>

Change Log

Since: 1.5

Source File

wp_meta() is located in wp-includes/general-template.php