install_plugins_pre_$tab

install_plugins_pre_$tab

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('install_plugins_pre_$tab') is found 1 times:

  • /wp-admin/plugin-install.php line 82
     *  - `install_plugins_pre_upload`
     *
     * @since 2.7.0
     */
    do_action( "install_plugins_pre_{$tab}" );
    
    /*
     * Call the pre upload action on every non-upload plugin installation screen
     * because the form is always displayed on these screens.
     */
    if ( 'upload' !== $tab ) {