wpsc_after_delete_cache_admin_bar

wpsc_after_delete_cache_admin_bar

Hook Type: action

See hook in core

Displaying hooks found in version: wp-super-cache.2.0.1

do_action('wpsc_after_delete_cache_admin_bar') is found 1 times:

  • /inc/delete-cache-button.php line 128
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    *
     * @param string $req_path Path of the page where the cache flush was requested.
     * @param string $referer  Referer URL.
     */
    do_action( 'wpsc_after_delete_cache_admin_bar', $req_path, $referer );
     
    if ( $_POST['admin'] ) {
        wp_safe_redirect( $referer );
    } else {
        wp_safe_redirect( esc_url_raw( home_url( $req_path ) ) );
    }