Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply_filters( 'wppr_schema', $ld, $this );
- add_filter( 'wppr_schema', 'myget_json_ld' );
- $review_default = array(
- '@type' => 'Review',
- 'reviewRating' => array(
- '@type' => 'Rating',
- 'bestRating' => '10',
- 'worstRating' => '0',
- 'ratingValue' => number_format( ( $this->get_rating() / 10 ), 2 ),
- ),
- 'name' => $this->get_name(),
- 'reviewBody' => $this->get_content(),
- 'author' => array(
- '@type' => 'Person',
- 'name' => $this->get_author(),
- ),
- 'datePublished' => get_the_time( 'Y-m-d', $this->get_ID() ),
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement