-
Hello,
I have an issue with loading elementor editor. I disabled all my plugins, one by one, and I’ve noticed, that problem is because of Rank Math plugin. I love your plugin and I don’t want to remove it. So I started to check solutions.I found this link https://rankmath.com/kb/filters-hooks-api-developer/#remove-seo-panel-elementor and code to disable SEO tab in elementor.
But the problem is, I can’t add this code. I’ve tried by changing functions.php file in my theme, also I’ve tried to create rank-math.php and edit this file – but nothing is working.
At the end, I’ve tried also Code Snippets plugin, but the same – the code is not working.
I’ve checked this code in Syntax Validator and there is a error:
You have an error in your SQL syntax; it seems the error is around: ‘< ? php add_filter( ‘rank_math/’ elementor / add_seo_tab ‘, ‘ __return_false ” at line 1The code, which I’ve tried to add is below:
/**
* Filter to hide SEO Tab in the Elementor Editor.
*/
add_filter( ‘rank_math/’elementor/add_seo_tab’, ‘__return_false’ );Please, help me to fix this issue.
Greetings,
David
The ticket ‘I can’t disable SEO tab in Elementor editor’ is closed to new replies.