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 |
---|---|
1617 | && false !== strpos( strtolower($_SERVER['HTTP_ACCEPT_ENCODING']), 'gzip'); |
1618 |
|
1619 | /** |
1620 | * Deprecated |
1621 | * |
1622 | * The tiny_mce_version filter is not needed since external plugins are loaded directly by TinyMCE. |
1623 | * These plugins can be refreshed by appending query string to the URL passed to mce_external_plugins filter. |
1624 | * 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). |
1625 | */ |
1626 | $version = apply_filters('tiny_mce_version', ''); |
1627 | $version = 'ver=' . $tinymce_version . $version; |
1628 |
|
1629 | if ( 'en' != $language ) |
1630 | include_once(ABSPATH . WPINC . '/js/tinymce/langs/wp-langs.php'); |
1631 |
|
1632 | $mce_options = ''; |
1633 | foreach ( $initArray as $k => $v ) { |
1634 | if ( is_bool($v) ) { |
1635 | $val = $v ? 'true' : 'false'; |