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 |
---|---|
21 | 'lookup' => attribute_escape(__('lookup')), |
22 | 'closeAllOpenTags' => attribute_escape(__('Close all open tags')), |
23 | 'closeTags' => attribute_escape(__('close tags')), |
24 | 'enterURL' => __('Enter the URL'), |
25 | 'enterImageURL' => __('Enter the URL of the image'), |
26 | 'enterImageDescription' => __('Enter a description of the image') |
27 | ) ); |
28 | $this->add( 'colorpicker', '/wp-includes/js/colorpicker.js', false, '3517' ); |
29 | $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '20070326' ); |
30 | $mce_config = apply_filters('tiny_mce_config_url', '/wp-includes/js/tinymce/tiny_mce_config.php'); |
31 | $this->add( 'wp_tiny_mce', $mce_config, array('tiny_mce'), '20070225' ); |
32 | $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.5.0-0'); |
33 | $this->add( 'autosave', '/wp-includes/js/autosave.js', array('prototype', 'sack'), '20070306'); |
34 | $this->localize( 'autosave', 'autosaveL10n', array( |
35 | 'autosaveInterval' => apply_filters('autosave_interval', '120'), |
36 | 'errorText' => __('Error: %response%'), |
37 | 'saveText' => __('Saved at %time%.'), |
38 | 'requestFile' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php', |
39 | 'savingText' => __('Saving Draft...') |