wpcf7_current_action
The Contact Form 7 wpcf7 current action function.
Description
wpcf7_current_action();
Usage
if ( !function_exists( 'wpcf7_current_action' ) ) { require_once ABSPATH . PLUGINDIR . 'contact-form-7/admin/includes/admin-functions.php'; } // NOTICE! Understand what this does before running. $result = wpcf7_current_action();
Defined (1)
The function is defined in the following location(s).
- /admin/includes/admin-functions.php
- function wpcf7_current_action() {
- if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) {
- return $_REQUEST['action'];
- }
- if ( isset( $_REQUEST[''] ) && -1 != $_REQUEST[''] ) {
- return $_REQUEST[''];
- }
- return false;
- }