As you see there is the apply_filters()
call, with the $tag
parameter, which is the name of the hook, set to widget_tag_cloud_args
. As starting point for getting into hooks, filters and actions I’d suggest you read the codex page about the Plugin API. You can use the hook to change the arguments, e.g. like this:
add_filter( 'widget_tag_cloud_args', 'wspe160041_change_tag_cloud_number_arg' );
function wspe160041_change_tag_cloud_number_arg( $args ) {
$args[ 'number' ] = 10;
return $args;
}
Related Posts:
- changing wp-admin/widgets.php
- Add class to before_widget from within a custom widget
- How Can I Add the “Insert From URL” Tab to a Custom 3.5 Media Uploader?
- Where is the content of widgets stored in mysql table
- How to refresh Theme Customizer after change color inside wpColorPicker?
- How to Remove All Widgets from Dashboard?
- Determining a Widget Instance and Sidebar Location?
- Randomize widgets displayed in my sidebar [duplicate]
- Calling static method in the Widget Class
- Remove […] from RSS feed?
- What is the best way to include a widget in a Page?
- How to create a widget that has a submit form in the front end
- Custom shortcode in widget forced to top of widget
- Modifying recent post widget to include icons for post titles
- Unfiltered html in widget title not working
- How to process content in a widget? [duplicate]
- How to retrive widget title/data
- Separate backend “Widgets” page for each language
- How Can I Register Menus and Widgets Conditionally Based on Theme Options/Settings?
- How do I embed in a text widget?
- Where (what direcory) are the default WordPress Widget Codes stored?
- Why use dynamic_sidebar() conditionally?
- WordPress Widget multiple use
- Contact Form in sidebar [closed]
- Display the date before the post title in recent posts widget
- Closest thing to an is_widget() tag?
- More flexible sidebar and widget management
- Why won’t my custom widget stay in the sidebar after a reload?
- How to “pair” two widgets side by side in one sidebar [closed]
- Dynamic Sidebars On Multiple Subpages
- Can I remove a widget area without editing code?
- Custom dashboard widget search box
- Notice: Undefined index: filter in …wp-includes/default-widgets.php on line 382
- Cannot save widgets in custom sidebars
- Disable widgets on specific posts
- register widget class not written in theme
- Font awesome Icon HTML in widgets disappear on save
- How to determine the number of widgets contained in a sidebar via customizer JS
- WordPress Plugins won’t save
- Hide widget if user is logged in without plugin
- Toggle option in sidebar widgets
- for class wp_widget, in what order are the member functions called?
- Add field to dashboard to update embedded URL on homepage?
- unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘)’ in widget [closed]
- Widgets not activated alert after using get_sidebar()
- Wrap the widget content with a div and get the widget title outside? [closed]
- Is there any way to parse blocks inside widget area?
- How to output only blockquotes content from recent posts in a widget?
- Custom tag being removed from text editor
- Add default widgets to footer
- Trying to create dynamic widget area using post ID
- How to modify single widget in child theme?
- Display attachment, post and page in recent comments widget
- Programmatically add widgets to sidebars
- How to activate WordPress widgets but not display?
- Insert widgets into loop/custom query at every nth position
- Twenty Fourteen: how do they populate by default the sidebar?
- register_sidebar fails when using a include within functions.php
- get_the_title and get_permalink outside of the Loop
- WordPress widget not appearing in editors widget list
- How to insert widgets into a post?
- Widget’s Content Mssing in Child Theme
- My widget not printing before_widgets and after widgets
- wrapper div for widgets not showing with all widgets
- Address automatically generated ids in css [closed]
- Check if widget is inside sidebar with PHP
- latest posts-widget displays all posts on archive page but works great anywhere else
- Widget : html 2 dimensional array doesn’t work
- call widget from within shortcode
- How to get class from widget area
- How to change widget’s form color in admin?
- In widget, the value of select field doesn’t get updated, changes after saving
- Removing widget without using unregister_widget
- Editing Help Section
- SELECT field options disappear when saving widget
- WordPress text filed input only inter value?
- Need to delete the sidebar widget area and have the page a full page rather than just have a blank widget area
- Display Login user name in Thim:login Popup widget
- Searching for a one page overview widget
- WP renders HTML wrong when adding widgets
- How do I add after the tag in WordPress widget?
- Creating a simple button inside of a widget
- Hiding the widget meta box in the Appearance->Widget screen
- The WP_Widget class seems to run many times on a page load
- Stop ‘extends WP_Widget’ displaying the (backend) form, frontend?
- How to check widget-cpt meta and display its custom css in the head?
- How to add WooCommerce Add to Cart button in widget?
- How to call theme default widget in custom template?
- How to place a widget beside a div/text so that they display as a continuous line
- Editor Widget Role
- Widget Logic code for different PMP membership levels
- How to Activate WordPress Widgets
- WordPress wiget admin panel
- Filter “widget_comments_args” won’t work
- How to output built-in widgets with number in range as class?
- How to create a widget on witch a registered user can create a checklist
- How to hide sidebar widgets in all pages except Hompage?
- How can I create my own widgets in WordPress? [closed]
- Unable to add options on dashboard widget ?
- is it possible to create custom widgets page in admin?