Skip to content

Instantly share code, notes, and snippets.

@Kaiderella
Created November 28, 2016 02:50
Show Gist options
  • Save Kaiderella/f083ce179dc855c1050c3f031abc0bdc to your computer and use it in GitHub Desktop.
Save Kaiderella/f083ce179dc855c1050c3f031abc0bdc to your computer and use it in GitHub Desktop.
Chỉnh sửa plugin kk Star Ratings
public function markup($id=false)
{
if(get_query_var('amp')) {
return '';
}
$id = !$id ? get_the_ID() : $id;
if($this->exclude_cat($id))
{
return '';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment