Hi Will,
David’s feedback is correct. The plugin does use the render_block filter, and this is one of the most used filters for modifying block content. So, any impact on performance should be virtually imperceivable.
Would you be able to share the visibility conditions that you are applying and how many conditions you have set on a specific page? This will allow me to try and replicate any issues on my end.
Thanks,
Nick
Hi @willgreeny,
Thanks for following up. The site is loading relatively quickly, not sure if you made a change recently.
It looks like you would have been using the Location control to display content on different pages. So, the only difference between using “GP with php conditions” and Block Visibility would be the use of the render_block filter. This is the only way to natively modify block content on the front end in WordPress, so I am going to close out this issue, but there might be some ways to optimize the callback function for this filter in the plugin. I’ll look into this for the next release.
Best,
Nick