WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about media_upload_tabs

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/media.php apply_filters 31 /**
* Filters the available tabs in the legacy (pre-3.5.0) media popup.
*
* @since 2.5.0
*
* @param string[] $_default_tabs An array of media tabs.
*/
wp-includes/media.php apply_filters 4384 /**
* Enqueues all scripts, styles, settings, and templates necessary to use
* all media JS APIs.
*
* @since 3.5.0
*
* @global int $content_width
* @global wpdb $wpdb WordPress database abstraction object.
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @param array $args {
* Arguments for enqueuing media scripts.
*
* @type int|WP_Post $post Post ID or post object.
* }
*/

Hook Parameters

Parameter Type Name Description
string[] $_default_tabs An array of media tabs.