widget_posts_args

过滤钩子


参数
  • (array)
    $args
    An array of arguments used to retrieve the recent posts.
    Required:
    Default:
  • (array)
    $instance
    Array of settings for the current widget.
    Required:
定义位置
  • wp-includes/widgets/class-wp-widget-recent-posts.php
    , line 73
引入
4.9.0
弃用

Filters the arguments for the Recent Posts widget.

apply_filters(