wpcf7_current_action()
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
wpcf7_current_action();
Код wpcf7_current_action() wpcf7 current action CF7 6.1
function wpcf7_current_action() { foreach ( array( 'action', 'action2' ) as $var ) { $action = wpcf7_superglobal_request( $var, null ); if ( isset( $action ) and -1 !== $action ) { return $action; } } return false; }