SHARE
TWEET

Untitled

a guest Feb 17th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. add_filter('widget_tag_cloud_args','set_number_tags');
  4. function set_max_tags($args) {
  5.     $my_args = array(
  6.         'smallest' => 12,
  7.         'largest'   => 12,
  8.         'unit'  => 'px',
  9.         'order' => 'ASC',
  10.         'number' => '15');
  11.     $args = wp_parse_args( $args, $my_args );
  12.  
  13.     return $args;
  14. }
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top