Function to retrieve Yoast search appearance options? [closed]

Question

I’m trying to retrieve global options for post types set under Yoast SEO -> search appearance.

Specifically, I want to retrieve global index/noindex set for each post type.

I’ve used get_option() function before to retrieve some options for Yoast, but I can’t find the correct option name to pass to this function. Neither can I see a list of available options anywhere.

Does anyone have any tips?

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/function-to-retrieve-yoast-search-appearance-options-closed/">

Function to retrieve Yoast search appearance options? [closed]</a>
0
, geochanto 3 months 0 Answers 56 views 0

Leave an answer