WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
62 | /** |
63 | * Filters the "Powered by WordPress" text in the Meta widget. |
64 | * |
65 | * @since 3.6.0 |
66 | * @since 4.9.0 Added the `$instance` parameter. |
67 | * |
68 | * @param string $title_text Default title text for the WordPress.org link. |
69 | * @param array $instance Array of settings for the current widget. |
70 | */ |
71 | echo apply_filters( 'widget_meta_poweredby', sprintf( '<li><a href="%s" title="%s">%s</a></li>', |
72 | esc_url( __( 'https://wordpress.org/' ) ), |
73 | esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ), |
74 | _x( 'WordPress.org', 'meta widget link text' ) |
75 | ), $instance ); |
76 |
|
77 | wp_meta(); |
78 | ?> |
79 | </ul> |
80 | <?php |