• Resolved Ivaylo Tinchev

    (@itinchev)


    Where can I find a list of all AIOSEO hooks that are active and not depricated?
    The old ones seems to have stopped working.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @itinchev,

    There’s an initial list here – https://aioseo.com/doc-categories/filter-hooks/. There are more and we’re actively working on documenting them.

    Let me know if you want to do anything particular and I’ll be happy to provide you with the name of the hook you’re looking for.

    – Arnaud

    Thread Starter Ivaylo Tinchev

    (@itinchev)

    Hi,

    I found some of the ones I needed in AIOSEO\Plugin\Common\Social and other places.

    The only one that remained is aioseop_register_schema_objects and I need to know the way it can be used to work with the schema strings before they are published.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @itinchev,

    I’ve just added a new filter for it. Unfortunately, it won’t be included in the next update because we’re doing the final testing on that one right now.

    It should be included in v4.0.13 and be called ‘aioseo_schema_graphs’. It will simply return an array of graph names.

    If you’d like, you can already add it yourself on line 81 of AIOSEO\Plugin\Common\Schema\Schema.php. Note that you’ll have to add it back in case you add it in v4.0.11 (current version) and update to v4.0.12 since it will only be added in v4.0.13.

    – Arnaud

    Thread Starter Ivaylo Tinchev

    (@itinchev)

    Thanks.
    Do you also have a hook for the text in each preview snippet before showing?
    I am the author of Do Shortcodes for All in One SEO Pack plugin and it no longer works with the new AIOSEO version but you still do not support shortcodes in the SEO and social fields.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @itinchev,

    I think we support shortcodes in those fields now, but we don’t run them in the admin (so they don’t get replaced in the preview snippet) because we’ve found it causes a lot of conflicts with other themes/plugins like Visual Composer and Avada. On the front-end they should get parsed though.

    – Arnaud

    Thread Starter Ivaylo Tinchev

    (@itinchev)

    Hi @arnaudbroes ,

    Unfortunately the shortcodes do not seem to be working in the new version of AIOSEO out of the box. If you can test this and confirm that shortcodes work in all fields (title, description, keywords, facebook, twitter, schema), I will be glad to delete my plugin and stop making a new version (which I already started). But I personally tried to use shortcodes and they do not work. Only variables/tags that you have added.

    Can you please check and confirm? Thanks.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @itinchev,

    Can you give me some steps so that I can test this?

    – Arnaud

    Thread Starter Ivaylo Tinchev

    (@itinchev)

    Hi @arnaudbroes ,

    Just put any shortcode from any plugin (e.g. [wpdts-date] of WP Date and Time Shortcode) in all fields of AIOSEO and test it. The shortcodes are not displayed on the frontend website pages in title, description, keywords, facebook and twitter. Additional filter hooks are needed to filter the fields with the AIOSEO hooks (as it worked with Do Shortcodes for AIOSEOP plugin before).

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @itinchev gotcha. We support shortcodes when they’re in the page content and we pull them in when the description is autogenerated, not when you manually enter them. I think that’s an oversight and we can probably add support for this. I’m evaluating it and will get back to you with an update soon.

    Thread Starter Ivaylo Tinchev

    (@itinchev)

    @arnaudbroes, yes, it is very easy and I have always wondered why the SEO plugins (including AIOSEO) do not have this functionality. Thank you for the cooperation.

    Plugin Author arnaudbroes

    (@arnaudbroes)

    @itinchev the main reason why many plugins steer away from it is because running shortcodes from other plugins in a different context is incredibly prone to bugs and conflicts. We’ve had our fair share of them over the years but by running into them and having those experiences we’ve been able to come up with something we think works pretty well.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘List of AIOSEO hooks’ is closed to new replies.