gdrts_emote_this_loop_list_args

Developer Knowledge Level

This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!

This filter (gdrts_emote_this_loop_list_args) is used to filter arguments for the list items 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_emote_this_loop_list_args', 'custom__gdrts_emote_this_loop_list_args');
function custom__gdrts_emote_this_loop_list_args($args) {
  // modify the $args array //
  $args['template'] = 'default';

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

You are not allowed to rate this post.

Leave a Comment