post-html-upload-ui
Fires after the upload button in the media upload interface.
Использование
add_action( 'post-html-upload-ui', 'wp_kama_post_html_upload_ui_action' ); /** * Function for `post-html-upload-ui` action-hook. * * @return void */ function wp_kama_post_html_upload_ui_action(){ // action... }
Список изменений
С версии 2.6.0 | Введена. |
Где вызывается хук
post-html-upload-ui
wp-admin/includes/media.php 2294
do_action( 'post-html-upload-ui' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Где используется хук в WordPress
wp-admin/includes/admin-filters.php 28
add_action( 'post-html-upload-ui', 'media_upload_html_bypass' );