w3tc_ajax

w3tc_ajax

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: w3-total-cache.2.8.0

do_action('w3tc_ajax') is found 1 times:

  • /Generic_Plugin_Admin.php line 199
    			if ( ! empty( $capability ) && ! current_user_can( $capability ) ) {
    				throw new \Exception( 'no permissions' );
    			}
    
    			do_action( 'w3tc_ajax' );
    			do_action( 'w3tc_ajax_' . Util_Request::get_string( 'w3tc_action' ) );
    		} catch ( \Exception $e ) {
    			echo esc_html( $e->getMessage() );
    		}
    
    		exit();
    

See this hook used in plugins: