The following template tag functions are available to be used in your theme code.
- mrp_rating_result()
- mrp_rating_form()
- mrp_rating_item_results()
- mrp_rating_entry_details_list()
- mrp_rating_results_list()
- mrp_user_rating_results()
- mrp_user_ratings_dashboard()
You can pass in an array of parameters into the template tags. The parameters are the same as the corresponding shortcode attributes available. Check out the shortcodes documentation for details.
Here’s a code snippet of a template tag function which you can add in your PHP theme code.