w3tc_audit_log

w3tc_audit_log

Hook Type: action

See hook in core

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

do_action('w3tc_audit_log') is found 2 times:

  • /Util_Debug.php line 109
    	 *     W3TC itself does not persist it.
    	 *
    	 * Hook signature:
    	 *
    	 *     do_action( 'w3tc_audit_log', string $event, array $context )
    	 *
    	 *  - `$event` is a stable identifier
    	 *    (e.g. `cap_denied`, `cloudflare_api_failed`,
    	 *    `config_imported`).
    	 *  - `$context` is an associative array. `user_id` and `ip` are
    	 *    populated automatically if the caller doesn't include them.
    
  • /Util_Debug.php line 147
    			}
    		}
    
    		if ( \function_exists( 'do_action' ) ) {
    			\do_action( 'w3tc_audit_log', $event, $context );
    		}
    	}
    
    	/**
    	 * Log a single line to the per-module debug log.
    	 *