[Resolved] Question about Hatom schema type

Home Forums Support [Resolved] Question about Hatom schema type

Home Forums Support Question about Hatom schema type

Viewing 4 posts - 1 through 4 (of 4 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/

    #2098488
    Vish

    Thanks, E!

    #2099498
    Elvin
    Staff
    Customer Support

    No problem. Let us know if you need further help. 😀

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