Skip to content

Instantly share code, notes, and snippets.

@cheh
Created December 15, 2016 13:31
Show Gist options
  • Save cheh/d2c52449f80af0fa229e02c2d889d8ed to your computer and use it in GitHub Desktop.
Save cheh/d2c52449f80af0fa229e02c2d889d8ed to your computer and use it in GitHub Desktop.
if ( class_exists( 'Cherry_Callback_Likes' ) && class_exists( 'Cherry_Callback_Dislikes' ) ) {
$like = Cherry_Callback_Likes::get_instance();
$dislike = Cherry_Callback_Dislikes::get_instance();
echo $like->get_likes();
echo $dislike->get_dislikes();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment