Title: Default Schema Type
Last modified: February 8, 2019

---

# Default Schema Type

 *  Resolved [totalgeeks](https://wordpress.org/support/users/totalgeeks/)
 * (@totalgeeks)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/default-schema-type/)
 * Hey guys,
 * Any idea if there’s a way to change the default scheme type to something more
   appropriate? The current 4 options aren’t useful in my case – any chance there’s
   a filter or something I can hook into to change it?
 * Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/default-schema-type/#post-11185407)
 * Hi!
 * Yes, you can use this filter:
 * $filtered_schema = apply_filters( ‘yasr_filter_schema_jsonld’, $review_choosen);
 * Best,
    Dario
    -  This reply was modified 7 years, 3 months ago by [dudo](https://wordpress.org/support/users/dudo/).
 *  Thread Starter [totalgeeks](https://wordpress.org/support/users/totalgeeks/)
 * (@totalgeeks)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/default-schema-type/#post-11185542)
 * That’s great!
 * Sorry but this is probably a bit dense… how would I use that to change the schema
   type? Do I need to use it in a function somehow?
 *  Plugin Contributor [dudo](https://wordpress.org/support/users/dudo/)
 * (@dudo)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/default-schema-type/#post-11185590)
 * You should use that filter to create your, something like
 *     ```
       my_function () {
   
       $schema["@context"] = "http://schema.org/";
       $schema["@type"] = "Person";
       $schema["name"] = "dario";
       $schema["alternateName"] = "dudo";
       $schema["url"] = "dariocurvino.it";
       $schema["image"] = "";
       $schema["sameAs"] = "https://www.linkedin.com/in/dario-curvino/";
   
        return json_encode($schema);
   
       }
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Default Schema Type’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-stars-rating/assets/icon-256x256.png?rev=1525329)
 * [YASR - Yet Another Star Rating Plugin for WordPress](https://wordpress.org/plugins/yet-another-stars-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-stars-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-stars-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-stars-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-stars-rating/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [dudo](https://wordpress.org/support/users/dudo/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/default-schema-type/#post-11185590)
 * Status: resolved