Method |
Description |
|
get_ratings ( ) |
Prints the markup for the rating stars. |
|
init ( ) |
Init embed class. |
|
is_embedded_product ( ) : boolean |
Check if this is an embedded product - to make sure we don't mess up regular posts. |
|
print_embed_styles ( ) |
Basic styling. |
|
product_buttons ( ) : string |
Create the button to go to the product page for embedded products. |
|
remove_comments_button ( ) |
Remove comments button on product embeds. |
|
the_excerpt ( string $excerpt ) : string |
Create the excerpt for embedded products - we want to add the buy button to it. |
|