Created
March 1, 2016 09:26
-
-
Save danielpowney/7ae02ec32759d7db317b to your computer and use it in GitHub Desktop.
Class 'mrp-filter' is passed to the template for auto placement of rating results. This can be used to add logic to the template e.g change default result type.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( $result_type == MRP_Multi_Rating::SCORE_RESULT_TYPE || strpos( $class, 'mrp-filter' ) > 0 ) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment