wpcf7_flamingo_submit_if

wpcf7_flamingo_submit_if

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: contact-form-7.6.0.1

apply_filters('wpcf7_flamingo_submit_if') is found 1 times:

  • /modules/flamingo.php line 19
    	if ( $contact_form->in_demo_mode() ) {
    		return;
    	}
    
    	$cases = (array) apply_filters( 'wpcf7_flamingo_submit_if',
    		array( 'spam', 'mail_sent', 'mail_failed' )
    	);
    
    	if ( empty( $result['status'] )
    	or ! in_array( $result['status'], $cases ) ) {
    		return;