wpcf7_use_really_simple_captcha

The contact-form-7 wpcf7 use really simple captcha hook.

Published Date - July 22, 2023

Description

return apply_filters( 'wpcf7_use_really_simple_captcha',
		WPCF7_USE_REALLY_SIMPLE_CAPTCHA
	);

Parameters

  1. $WPCF7_USE_REALLY_SIMPLE_CAPTCHA


Usage

The following example is for adding a hook callback.

// define the wpcf7_use_really_simple_captcha callback 
function custom_wpcf7_use_really_simple_captcha( $WPCF7_USE_REALLY_SIMPLE_CAPTCHA ){ 
   //custom code here
    return $WPCF7_USE_REALLY_SIMPLE_CAPTCHA
} 

//add the action 
add_filter('wpcf7_use_really_simple_captcha', 'custom_wpcf7_use_really_simple_captcha', 10, 1)

Defined

The filter is defined in the following location(s).

contact-form-7/includes/functions.php

return apply_filters( 'wpcf7_use_really_simple_captcha',
		WPCF7_USE_REALLY_SIMPLE_CAPTCHA
	);