Skip to content

Instantly share code, notes, and snippets.

@danielpowney
Last active October 11, 2016 23:06
Show Gist options
  • Save danielpowney/3e9efbfaae2f63021a4cfc3c67b47dd7 to your computer and use it in GitHub Desktop.
Save danielpowney/3e9efbfaae2f63021a4cfc3c67b47dd7 to your computer and use it in GitHub Desktop.
<?php
$rating_form_id = 1;
if ( class_exists( 'MRP_Multi_Rating_API' ) ) {
$rating_form = MRP_Multi_Rating_API::get_rating_form( $rating_form_id );
// do something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment