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.
This hook occurs 2 times in this file.
Line | Code |
---|---|
1127 | } |
1128 | } |
1129 | $_file = add_query_arg( 'version', get_bloginfo( 'version' ), $_file ); |
1130 |
|
1131 | return apply_filters( 'wp_admin_css_uri', $_file, $file ); |
1132 | } |
1133 |
|
1134 | function wp_admin_css( $file = 'wp-admin' ) { |
1135 |
|
1136 | echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . wp_admin_css_uri( $file ) . "' type='text/css' />\n", $file ); |
1137 | if ( 'rtl' == get_bloginfo( 'text_direction' ) ) { |
1138 | $rtl = ( 'wp-admin' == $file ) ? 'rtl' : "$file-rtl"; |
1139 | echo apply_filters( 'wp_admin_css', "<link rel='stylesheet' href='" . wp_admin_css_uri( $rtl ) . "' type='text/css' />\n", $rtl ); |
1140 | } |
1141 | } |
1142 |
|
1143 | /** |
1144 | * Outputs the XHTML generator that is generated on the wp_head hook. |
1145 | */ |
1146 | function wp_generator() |
1147 | { |
1148 | the_generator( apply_filters( 'wp_generator_type', 'xhtml' ) ); |