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 |
---|---|
1557 | && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip'); |
1558 |
|
1559 | /** |
1560 | * Deprecated |
1561 | * |
1562 | * The tiny_mce_version filter is not needed since external plugins are loaded directly by TinyMCE. |
1563 | * These plugins can be refreshed by appending query string to the URL passed to mce_external_plugins filter. |
1564 | * If the plugin has a popup dialog, a query string can be added to the button action that opens it (in the plugin's code). |
1565 | */ |
1566 | $version = apply_filters('tiny_mce_version', ''); |
1567 | $version = 'ver=' . $tinymce_version . $version; |
1568 |
|
1569 | if ( 'en' != $language ) |
1570 | include_once(ABSPATH . WPINC . '/js/tinymce/langs/wp-langs.php'); |
1571 |
|
1572 | $mce_options = ''; |
1573 | foreach ( $initArray as $k => $v ) |
1574 | $mce_options .= $k . ':"' . $v . '", '; |
1575 |
|