Title: Mej de Castro's Replies | WordPress.org

---

# Mej de Castro

  [  ](https://wordpress.org/support/users/mej/)

 *   [Profile](https://wordpress.org/support/users/mej/)
 *   [Topics Started](https://wordpress.org/support/users/mej/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mej/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mej/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mej/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mej/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mej/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 1,218 total)

1 [2](https://wordpress.org/support/users/mej/replies/page/2/?output_format=md) 
[3](https://wordpress.org/support/users/mej/replies/page/3/?output_format=md) … 
[80](https://wordpress.org/support/users/mej/replies/page/80/?output_format=md) 
[81](https://wordpress.org/support/users/mej/replies/page/81/?output_format=md) 
[82](https://wordpress.org/support/users/mej/replies/page/82/?output_format=md) 
[→](https://wordpress.org/support/users/mej/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] How do I show/hide a widget within a specific tag?](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 hour, 12 minutes ago](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/#post-18906851)
 * Hi [@efquintana](https://wordpress.org/support/users/efquintana/),
 * Could you also please kindly send us a screenshot of the filters or custom code,
   as well as where the custom code is applied? Ideally, this should be added to
   the `functions.php` file of the currently active theme.
 * At the moment, the custom code or filters provided above serve as the workaround
   to enable or save the `has_term()` and `has_tag()` functions. This is because
   the plugin only allows a limited set of functions, as mentioned previously, in
   order to reduce vulnerabilities and keep the plugin as secure as possible.
 * I hope you understand. We are actively working on a long-term solution to address
   the disallowed function issues.
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] How do I show/hide a widget within a specific tag?](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [2 days, 2 hours ago](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/#post-18904372)
 * Hi [@efquintana](https://wordpress.org/support/users/efquintana/),
 * Regrettably, I wasn’t able to view the screenshot on my end. Could you please
   provide another one using the image hosting service at [https://snipboard.io/](https://snipboard.io/)?
   This will allow me to properly check the errors you’re encountering.
 * As mentioned, the current solution for saving functions that aren’t included 
   in the allowed functions list of Widget Options is to add the provided code to
   your website’s `functions.php` file.
 * Looking forward to your update!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] How do I show/hide a widget within a specific tag?](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/#post-18898465)
 * Hi [@efquintana](https://wordpress.org/support/users/efquintana/),
 * Just following up if you had a chance to check our previous reply?
 * Thanks!
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[LoginWP (Formerly Peter's Login Redirect)] Very easy](https://wordpress.org/support/topic/very-easy-211/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/very-easy-211/#post-18898121)
 * Hi [@jackofall1232](https://wordpress.org/support/users/jackofall1232/),
 * Thank you so much for your kind words! We’re glad to hear the setup was easy 
   for you — that’s exactly what we aim for.
 * If you ever need any help or have suggestions, feel free to reach out anytime.
 * Have a great day!
   Mej, LoginWP Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] How do I show/hide a widget within a specific tag?](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [2 weeks ago](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/#post-18893956)
 * Hi [@efquintana](https://wordpress.org/support/users/efquintana/),
 * Thanks for the update.
 * Upon further testing, it seems that the has_tag and has_term functions are saving
   correctly once the filters are added.
 * Just to confirm, have you tried using the functions with parentheses, like has_tag()
   and has_term()?
 * Please let us know so we can assist further!
 * ![](https://i0.wp.com/snipboard.io/t7D8eM.jpg?ssl=1)
 * ![](https://i0.wp.com/snipboard.io/7zTDRn.jpg?ssl=1)
 * Please let us know so we can assist further!
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Compatibility with WordPress 6.9.4](https://wordpress.org/support/topic/compatibility-with-wordpress-6-9-4-2/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/compatibility-with-wordpress-6-9-4-2/#post-18891850)
 * Hi [@motorsportprospects](https://wordpress.org/support/users/motorsportprospects/),
 * Thanks for reaching out to us via the support thread.
 * Yes, this shouldn’t be a problem. If you encounter any issues while using the
   plugin on version **6.9.4**, please don’t hesitate to let us know—we’ll be happy
   to assist.
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] How do I show/hide a widget within a specific tag?](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/how-do-i-show-hide-a-widget-within-a-specific-tag/#post-18891773)
 * Hi [@efquintana](https://wordpress.org/support/users/efquintana/),
 * Thanks for reaching out to us.
 * The error **“Expression contains disallowed function calls.”** is commonly encountered
   when using a function that is not included in the allowed WordPress and PHP functions
   within the Widget Options plugin.
 * This restriction is in place because allowing certain functions may introduce
   potential security vulnerabilities to both the plugin and your website.
 * You may refer to the documentation below for the list of allowed functions:
   [https://widget-options.com/docs/list-of-allowed-wordpress-functions/](https://widget-options.com/docs/list-of-allowed-wordpress-functions/)
   [https://widget-options.com/docs/list-of-allowed-php-functions-in-widget-options/](https://widget-options.com/docs/list-of-allowed-php-functions-in-widget-options/)
 * In your case, since the `has_tag()` and `has_term()` functions are not included
   in the allowed list, you will need to manually allow them by adding a filter.
   Please insert the code below into your `functions.php` file or any appropriate
   location on your site:
 *     ```wp-block-code
       function add_extra_hooks( $allowed_functions ) {    // Add your custom functions here	$allowed_functions[] = 'has_tag';	$allowed_functions[] = 'has_term';        return $allowed_functions;}add_filter( 'widgetopts_allowed_php_functions', 'add_extra_hooks' );
       ```
   
 * Thanks and let us know if this works on your end.
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Query Monitor warnings](https://wordpress.org/support/topic/query-monitor-warnings-2/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [2 weeks, 5 days ago](https://wordpress.org/support/topic/query-monitor-warnings-2/#post-18888742)
 * Hi [@anafasia](https://wordpress.org/support/users/anafasia/),
 * We recommend uninstalling the plugin directly from your WordPress dashboard and
   then reinstalling it. Manually removing the plugin directories may delete your
   saved configurations, and they may not carry over to the new installation.
 * Thanks, and please let us know if you need any help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Query Monitor warnings](https://wordpress.org/support/topic/query-monitor-warnings-2/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [3 weeks, 1 day ago](https://wordpress.org/support/topic/query-monitor-warnings-2/#post-18885543)
 * Hi [@anafasia](https://wordpress.org/support/users/anafasia/),
 * Rest assured that reinstalling the plugin will not affect or remove any of your
   existing Widget Options settings or configurations.
 * We still recommend creating a backup of your plugin files before proceeding.
 * If you need any assistance, feel free to let us know!
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Query Monitor warnings](https://wordpress.org/support/topic/query-monitor-warnings-2/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/query-monitor-warnings-2/#post-18882392)
 * Hi [@anafasia](https://wordpress.org/support/users/anafasia/),
 * It appears that you already have the latest version of the plugin installed (
   version **4.2.2**, released on March 25, 2026).
 * As shown in the current version of the plugin, the files you mentioned are no
   longer present in these directories:
   [https://plugins.svn.wordpress.org/widget-options/tags/4.2.2/includes/admin/settings/modules/](https://plugins.svn.wordpress.org/widget-options/tags/4.2.2/includes/admin/settings/modules/)
 * These may be leftover files from an older installation of the Widget Options 
   plugin. We recommend reinstalling the plugin to ensure all files are updated 
   correctly.
 * Please let us know if the issue persists after reinstalling—we’re here to help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Deprecated passing of null when opening admin page](https://wordpress.org/support/topic/deprecated-passing-of-null-when-opening-admin-page/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [3 weeks, 6 days ago](https://wordpress.org/support/topic/deprecated-passing-of-null-when-opening-admin-page/#post-18881994)
 * Dear users [@adderswim](https://wordpress.org/support/users/adderswim/) [@onokazu](https://wordpress.org/support/users/onokazu/),
 * Our development team has identified a fix for the deprecated PHP notices. We 
   are currently finalizing the changes and will be releasing an updated version
   soon.
 * We’ll keep you posted once it’s available or make sure that auto-updates are 
   enabled.
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Query Monitor warnings](https://wordpress.org/support/topic/query-monitor-warnings-2/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [3 weeks, 6 days ago](https://wordpress.org/support/topic/query-monitor-warnings-2/#post-18881957)
 * Hi [@anafasia](https://wordpress.org/support/users/anafasia/),
 * Thanks for your patience.
 * Upon further checking with our development team, we’d like to clarify that the
   following files are not included in the current version of the plugin:
    - `widget-options/includes/admin/settings/modules/page-visibility.php`
    - `widget-options/includes/widgets/extras/logic.php`
 * Could you please confirm if the Widget Options plugin on your website is updated
   to the latest version? This will help us investigate the issue more accurately.
 * We look forward to your update!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Query Monitor warnings](https://wordpress.org/support/topic/query-monitor-warnings-2/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 month ago](https://wordpress.org/support/topic/query-monitor-warnings-2/#post-18878663)
 * Hi [@anafasia](https://wordpress.org/support/users/anafasia/),
 * Thanks for reaching out to us and letting us know about the issues you’re experiencing.
 * I’ve forwarded this to our dev team for further investigation and resolution.
 * We appreciate your patience while we work on this.
 * Kind Regards,
   Mej, Widget Options Team
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[LoginWP (Formerly Peter's Login Redirect)] Login WP – Muito Bom](https://wordpress.org/support/topic/login-wp-muito-bom/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 month ago](https://wordpress.org/support/topic/login-wp-muito-bom/#post-18875751)
 * Hi [@verasusanam](https://wordpress.org/support/users/verasusanam/),
 * Thank you so much for your feedback! We’re glad to hear that it worked very well
   for you. If you need anything else or have any suggestions, feel free to reach
   out—we’re always happy to help! 🙌
 * Kind Regartds,
   Mej, LoginWP Team
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets] Deprecated passing of null when opening admin page](https://wordpress.org/support/topic/deprecated-passing-of-null-when-opening-admin-page/)
 *  Plugin Author [Mej de Castro](https://wordpress.org/support/users/mej/)
 * (@mej)
 * [1 month ago](https://wordpress.org/support/topic/deprecated-passing-of-null-when-opening-admin-page/#post-18874879)
 * Hi [@onokazu](https://wordpress.org/support/users/onokazu/),
 * We will release as soon as the new version is ready. Thanks for your patience.

Viewing 15 replies - 1 through 15 (of 1,218 total)

1 [2](https://wordpress.org/support/users/mej/replies/page/2/?output_format=md) 
[3](https://wordpress.org/support/users/mej/replies/page/3/?output_format=md) … 
[80](https://wordpress.org/support/users/mej/replies/page/80/?output_format=md) 
[81](https://wordpress.org/support/users/mej/replies/page/81/?output_format=md) 
[82](https://wordpress.org/support/users/mej/replies/page/82/?output_format=md) 
[→](https://wordpress.org/support/users/mej/replies/page/2/?output_format=md)