Source View: tiny_mce_config_url

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: 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.

Source View

Line Code
27                'closeTags' => attribute_escape(__('close tags')),
28                'enterURL' => __('Enter the URL'),
29                'enterImageURL' => __('Enter the URL of the image'),
30                'enterImageDescription' => __('Enter a description of the image')
31           ) );
32
33           $this->add( 'colorpicker', '/wp-includes/js/colorpicker.js', false, '3517' );
34
35           $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '20070528' );
36           $mce_config = apply_filters('tiny_mce_config_url', '/wp-includes/js/tinymce/tiny_mce_config.php');
37           $this->add( 'wp_tiny_mce', $mce_config, array('tiny_mce'), '20070528' );
38
39           $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.5.1.1');
40
41           $this->add( 'autosave', '/wp-includes/js/autosave.js', array('prototype', 'sack'), '20070306');
42           $this->localize( 'autosave', 'autosaveL10n', array(
43                'autosaveInterval' => apply_filters('autosave_interval', '120'),
44                'errorText' => __('Error: %response%'),
45                'saveText' => __('Saved at %time%.'),