AnsPress_Hooks::widget_comments_args( array $args )
Description #
Filter recent comments widget args.
Exclude AnsPress comments from recent commenst widget.
Parameters #
- $argsarray (Required) Comments arguments.
Source #
File: includes/hooks.php
public static function widget_comments_args( $args ) { $args['type__not_in'] = [ 'anspress' ]; return $args; }
Expand full source code Collapse full source code View on GitHub: includes/hooks.php:901
Add your comment