reCaptcha by BestWebSoft icon
Security

reCaptcha by BestWebSoft hooks reference

  • By bestwebsoft
  • v2.1 New
  • Updated

reCaptcha by BestWebSoft 2.1 has 14 actions and 14 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when reCaptcha by BestWebSoft fires an action
add_action( 'gglcptch_add_plus_actions', function( $is_user_logged_in ) {
	// Your code runs here.
}, 10, 1 );

// Change a value reCaptcha by BestWebSoft is about to use
add_filter( 'gglcptch_add_custom_form', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • bws_menu/class-bws-settings.php line 730
    /**
     * Action - Display custom options on the Import / Export' tab
     */
    do_action( "{__CLASS__}_additional_import_export_options" );
  • bws_menu/class-bws-settings.php line 746
    /**
     * Action - Display custom options on the Import / Export' tab
     */
    do_action( "{__CLASS__}_additional_import_export_options_affected" );
  • bws_menu/class-bws-settings.php line 654
    /**
     * Action - Display custom options on the Import / Export' tab
     */
    do_action( "{__CLASS__}_additional_misc_options" );
  • bws_menu/class-bws-settings.php line 670
    /**
     * Action - Display custom options on the 'misc' tab
     */
    do_action( "{__CLASS__}_additional_misc_options_affected" );
  • bws_menu/class-bws-settings.php line 1257
    /**
     * Filter - Change default_options array OR process custom functions
     */
    apply_filters( "{__CLASS__}_additional_restore_options", $this->default_options );
  • bws_menu/class-bws-settings.php line 440
    /**
     * Action - Display custom error\message\notice
     */
    do_action( "{__CLASS__}_display_custom_messages", $save_results );
  • bws_menu/class-bws-settings.php line 252
    /**
     * Action - Display custom metabox
     */
    do_action( "{__CLASS__}_display_metabox" );
  • bws_menu/class-bws-settings.php line 265
    /**
     * Action - Display additional content for #postbox-container-2
     */
    do_action( "{__CLASS__}_display_second_postbox" );
  • bws_menu/class-bws-settings.php line 232
    /**
     * Action - Display additional content for #misc-publishing-actions
     */
    do_action( "{__CLASS__}_information_postbox_bottom" );
  • bws_menu/class-bws-settings.php line 188
    /**
     * Action - Display additional content for #misc-publishing-actions
     */
    do_action( "{__CLASS__}_information_postbox_top" );
  • includes/forms.php line 33 · used in 2 places
    apply_filters( 'gglcptch_add_custom_form', array() );
  • bws_menu/class-bws-settings.php line 352
    do_action_ref_array( "{__CLASS__}_after_tab_{$tab_slug}", array( &$this ) );
  • bws_menu/bws_functions.php line 1203
    apply_filters( 'bws_shortcode_button_content', '' );
  • includes/forms.php line 273
    do_action( 'gglcptch_add_plus_actions', $is_user_logged_in );
  • includes/class-gglcptch-settings-tabs.php line 205
    apply_filters( 'gglcptch_before_save_options', $this->options );
  • google-captcha.php line 458
    apply_filters( 'gglcptch_custom_callback', '' );
  • google-captcha.php line 466
    do_action( 'gglcptch_custom_enqueue_script' );
  • includes/forms.php line 149
    apply_filters( 'gglcptch_custom_plugin_section_notice', $plugins );
  • includes/forms.php line 198
    apply_filters( 'gglcptch_form_notice', $form_notice, $form_slug );
  • includes/forms.php line 40
    apply_filters( 'gglcptch_forms', $gglcptch_forms );
  • google-captcha.php line 834
    apply_filters( 'gglcptch_is_recaptcha_required', $result, $form_slug, $is_user_logged_in );
  • google-captcha.php line 1277
    apply_filters( 'gglcptch_limit_attempts_check', $result, $form );
  • includes/forms.php line 164
    apply_filters( 'gglcptch_section_notice', $section_notice, $section_slug );
  • includes/forms.php line 98
    apply_filters( 'gglcptch_sections', $gglcptch_sections );
  • includes/class-gglcptch-settings-tabs.php line 745
    do_action( 'gglcptch_settings_page_misc_action', $this->options );
  • google-captcha.php line 1414
    apply_filters( 'lmtttmpts_check_ip', $check_result );
  • google-captcha.php line 1421
    apply_filters( 'lmtttmpts_form_fail', $la_form_slug, '', $form_data );
  • google-captcha.php line 1415
    do_action( 'lmtttmpts_form_success', $la_form_slug, gglcptch_get_ip(), array( 'form_name' => $gglcptch_forms[ $form_slug ]['form_name'] ) );

Generated from reCaptcha by BestWebSoft's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: