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 |
|---|---|
| 10 | } |
| 11 | |
| 12 | function default_scripts() { |
| 13 | $this->add( 'dbx', '/wp-includes/js/dbx.js', false, '2.05' ); |
| 14 | $this->add( 'fat', '/wp-includes/js/fat.js', false, '1.0-RC1_3660' ); |
| 15 | $this->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' ); |
| 16 | $this->add( 'quicktags', '/wp-includes/js/quicktags.js', false, '3517' ); |
| 17 | $this->add( 'colorpicker', '/wp-includes/js/colorpicker.js', false, '3517' ); |
| 18 | $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '20061113' ); |
| 19 | $mce_config = apply_filters('tiny_mce_config_url', '/wp-includes/js/tinymce/tiny_mce_config.php'); |
| 20 | $this->add( 'wp_tiny_mce', $mce_config, array('tiny_mce'), '20061113' ); |
| 21 | $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.5.0'); |
| 22 | $this->add( 'autosave', '/wp-includes/js/autosave-js.php', array('prototype', 'sack'), '20070116'); |
| 23 | $this->add( 'wp-ajax', '/wp-includes/js/wp-ajax-js.php', array('prototype'), '20070118'); |
| 24 | $this->add( 'listman', '/wp-includes/js/list-manipulation-js.php', array('wp-ajax', 'fat'), '20070118'); |
| 25 | $this->add( 'scriptaculous-root', '/wp-includes/js/scriptaculous/wp-scriptaculous.js', array('prototype'), '1.6.1'); |
| 26 | $this->add( 'scriptaculous-builder', '/wp-includes/js/scriptaculous/builder.js', array('scriptaculous-root'), '1.6.1'); |
| 27 | $this->add( 'scriptaculous-dragdrop', '/wp-includes/js/scriptaculous/dragdrop.js', array('scriptaculous-builder'), '1.6.1'); |
| 28 | $this->add( 'scriptaculous-effects', '/wp-includes/js/scriptaculous/effects.js', array('scriptaculous-root'), '1.6.1'); |