wzkb_rating_position
Filter the position of the rating display.
Type: filter
Since: 3.0.0
Source: includes/pro/rating/class-rating.php line 146
Parameters
| Type | Name | Description |
|---|---|---|
string |
$position |
Position of rating (‘after’ or ‘before’). |
int |
$post_id |
Post ID. |
Usage
add_filter( 'wzkb_rating_position', function($position, $post_id) {
// ...
return $position;
} );