Yep! I need this too… I’um unable to index custom fields now. :/
This filter has been removed and no longer works on any of my sites that use it. It seems you now need to create a js plugin to get it to work – https://github.com/Yoast/YoastSEO.js
I’m not entirely sure how to do this yet though…
The filter no longer works.
We wrote about that over 6 weeks before the 3.0 release, when we released the developer beta; https://yoast.com/dev-blog/yoast-seo-developer-beta/
Ok so how exactly do I get the error message off of the top of my dashboard?
Notice: wpseo_pre_analysis_post_content filter/action is deprecated since version WPSEO 3.0! Use javascript instead.
Can I just uninstall & reinstall Yoast? Or what is the js I’m supposed to “use instead”?
@bnock21 This means something is your setup is using an outdated function. Please contact the author of the plugin or theme using the outdated function and ask them to update to our new integration.
If you are unsure what is usin the outdated function, please run a conflict check following the steps here: How To Check For Plugin Conflicts
Learn more about this function here: Can I add data to the page analysis?