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 |
|---|---|
| 666 | |
| 667 | } |
| 668 | |
| 669 | if ( $flag === false ) // WordPress english |
| 670 | $output[] = '<option value=""' . selected( $current, '' ) . '>' . __( 'English' ) . "</option>"; |
| 671 | |
| 672 | // Order by name |
| 673 | uksort( $output, 'strnatcasecmp' ); |
| 674 | |
| 675 | $output = apply_filters( 'mu_dropdown_languages', $output, $lang_files, $current ); |
| 676 | echo implode( "\n\t", $output ); |
| 677 | } |
| 678 | |
| 679 | /* Warn the admin if SECRET SALT information is missing from wp-config.php */ |
| 680 | function secret_salt_warning() { |
| 681 | if ( !is_super_admin() ) |
| 682 | return; |
| 683 | $secret_keys = array( 'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY', 'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT' ); |
| 684 | $out = ''; |