Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Hooks in wp-includes/media.php

WP version: 3.5

Important! Some hooks get applied in multiple files. If you are trying to figure out what a specific hook does, you need to look in all the files that apply the hook. Click the "details" link next to any hook for more information.

Hook Type New? File
1 wp_enqueue_media action YES wp-includes/media.php
2 load_default_embeds filter no wp-includes/media.php
3 media_view_strings filter YES wp-includes/media.php
4 media_view_settings filter YES wp-includes/media.php
5 disable_captions filter no wp-includes/media.php
6 media_upload_tabs filter no wp-includes/media.php
7 wp_prepare_attachment_for_js filter YES wp-includes/media.php
8 image_downsize filter no wp-includes/media.php
9 image_size_names_choose filter no wp-includes/media.php
10 plupload_default_params filter no wp-includes/media.php
11 plupload_default_settings filter no wp-includes/media.php
12 wp_image_editors filter YES wp-includes/media.php
13 upload_size_limit filter no wp-includes/media.php
14 embed_googlevideo filter no wp-includes/media.php
15 editor_max_image_size filter no wp-includes/media.php
16 embed_defaults filter no wp-includes/media.php
17 {$adjacent}_image_link note filter YES wp-includes/media.php
18 gallery_style filter no wp-includes/media.php
19 use_default_gallery_style filter no wp-includes/media.php
20 post_gallery filter no wp-includes/media.php
21 img_caption_shortcode filter no wp-includes/media.php
22 wp_get_attachment_image_attributes filter no wp-includes/media.php
23 icon_dir filter no wp-includes/media.php
24 intermediate_image_sizes filter no wp-includes/media.php
25 image_resize_dimensions filter no wp-includes/media.php
26 get_image_tag filter no wp-includes/media.php
27 get_image_tag_class filter no wp-includes/media.php
28 image_downsize filter no wp-includes/media.php

Important warning about variable hooks

Some hooks have variables in their names. For example, pre_${taxonomy}_$field and admin_head- both have variable names. In general, any hook that ends (or begins) with - or _, or contains a $, has a variable name. Since the syntax with which these variables are defined may change from version to version, this page may think that a hook is deprecated (or new) even if it is not. You can usually catch this sort of thing by comparing this hook to the list of "related hooks" below.