[Support request] Question about Hatom schema type

Home Forums Support [Support request] Question about Hatom schema type

Home Forums Support Question about Hatom schema type

  • This topic has 1 reply, 2 voices, and was last updated 1 month ago by Elvin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2049105
    Vish

    Hello there

    I read here that adding the below code

    add_filter( 'generate_schema_type', '__return_false' );

    would remove all GP generated schemas and it did, except for the ‘hatom’ schema.

    I read in some other thread where Tom mentioned that removing ‘hatom’ can be tricky and he is working on a way to get rid of it and that it will be available in GP 2.5.

    Question 1: We are currently at GP 3.1.0 and GPP 2.1.1 now. Is there a way to remove it now? If not, any ETA on when it will be available?

    Question 2: I came across this little plugin called ‘Remove Schema‘ which complete removed the hatom schema from the entire site. Is it gonna be a problem (given that Tom said removing hatom can be tricky)?

    #2049366
    Elvin
    Staff
    Customer Support

    Hi there,

    You can remove it w/ this PHP snippet:

    add_filter( 'generate_is_using_hatom', '__return_false' );
    https://docs.generatepress.com/article/generate_is_using_hatom/

    A wise man once said:
    "Have you cleared your cache?"

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.