gdrts_slider_rating_loop_single_args

This filter (gdrts_slider_rating_loop_single_args) is used to filter arguments for the single item rendering.

This filter provides 1 argument – the array with the list of arguments. The list of values in this array depends on the plugin settings, and you can print the list to see what you can change.

Example

add_filter('gdrts_slider_rating_loop_single_args', 'custom__gdrts_slider_rating_loop_single_args');
function custom__gdrts_slider_rating_loop_single_args($args) {
  // modify the $args array //
  $args['disable_rating'] = true;

  // return thee $args array//
  return $args;
}
1
0
293
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply