install_theme_overwrite_actions

install_theme_overwrite_actions

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('install_theme_overwrite_actions') is found 1 times:

  • /wp-admin/includes/class-theme-installer-skin.php line 378
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    * @param string[] $install_actions Array of theme action links.
     * @param object   $api             Object containing WordPress.org API theme data.
     * @param array    $new_theme_data  Array with uploaded theme data.
     */
    $install_actions = apply_filters( 'install_theme_overwrite_actions', $install_actions, $this->api, $new_theme_data );
     
    if ( ! empty( $install_actions ) ) {
        printf(
            '<p class="update-from-upload-expired hidden">%s</p>',
            __( 'The uploaded file has expired. Please go back and upload it again.' )
        );