• The author has massively counted on using anonymous functions (also known as lambda or closures) in add_action and add_filter. This makes it close to impossible to remove actions or filters at the moment, making the plugin far from flexible, despite being pretty well written as code.

    My specific case – it would be great if I could limit the places where the reCaptcha scripts and styles are loaded, but currently they are on every single page, despite the options in back-end for having recaptcha just for wp-login.php and WooCommerce login.

    (Plugin version 1.2.3)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Usage of anonymous functions in hooks and filters’ is closed to new replies.