• Resolved wladyk

    (@wladyk)


    Hi! I’m trying to access homepage metadata immediatly after having updated it from the admin panel.
    I’m aware of update_option_wpseo, update_option_wpseo_titles, update_option_wpseo_social hooks, but one of them – update_option_wpseo_titles – does not allow me to access the recently updated metas through YoastSEO()->meta->for_url(...)->whatever . If I attempt to do it, I obtain the previous, non updated data. I have also tried to use updateD_option_wpseo_titles , but to no avail.
    Right now, Im working around it using the admin_init hook, but I don’t feel this is an optimal solution.
    Is there any trick do to this that I’m missing?
    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support devnihil

    (@devnihil)

    @wladyk We’re sorry but we aren’t able to provide this level of support in the forums. These forums are dedicated to offering support for the plugin, but this unfortunately doesn’t include development support related to coding.

    Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.Thank you for your understanding.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get site Yoast metas after updating them’ is closed to new replies.