post-html-upload-ui
Action HookDescription
Fires after the upload button in the media upload interface.Hook Information
File Location |
wp-admin/includes/media.php
View on GitHub
|
Hook Type | Action |
Line Number | 2299 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into post-html-upload-ui
add_action('post-html-upload-ui', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/includes/media.php:2299
- How this hook is used in WordPress core
<?php
2294 /**
2295 * Fires after the upload button in the media upload interface.
2296 *
2297 * @since 2.6.0
2298 */
2299 do_action( 'post-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
2300
2301 ?>
2302 </div>
2303
2304 <p class="max-upload-size">
PHP Documentation
<?php
/**
* Fires after the upload button in the media upload interface.
*
* @since 2.6.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/includes/media.php
Related Hooks
Related hooks will be displayed here in future updates.