post-html-upload-ui

The WordPress Core post html upload ui hook.

Description

add_action( 'post-html-upload-ui', (string) $media_upload_html_bypass ); 

Parameters (1)

0. $media_upload_html_bypass (string) => 'media_upload_html_bypass'
The media upload html bypass.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'post-html-upload-ui', $media_upload_html_bypass ); 
The following example is for adding a hook callback.
  1. // define the post-html-upload-ui callback 
  2. function action_post_html_upload_ui( $media_upload_html_bypass ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'post-html-upload-ui', 'action_post_html_upload_ui', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'post-html-upload-ui', 'action_post_html_upload_ui', 10, 1 ); 

Defined (2)

The action is defined in the following location(s).

/wp-admin/includes/admin-filters.php  
  1. add_action( 'post-html-upload-ui', 'media_upload_html_bypass' ); 
/wp-admin/includes/media.php  
  1. do_action( 'post-html-upload-ui' );