WordPress at Your Fingertips
function is not described

ActionScheduler_WPCommentCleaner::delete_all_action_comments() public WC 1.0

Delete all action comments from the WP Comments table.

{} It's a method of the class: ActionScheduler_WPCommentCleaner{}

No Hooks.

Return

null. Nothing.

Usage

$result = ActionScheduler_WPCommentCleaner::delete_all_action_comments();

Code of ActionScheduler_WPCommentCleaner::delete_all_action_comments() WC 6.1.1

public static function delete_all_action_comments() {
	global $wpdb;
	$wpdb->delete( $wpdb->comments, array( 'comment_type' => ActionScheduler_wpCommentLogger::TYPE, 'comment_agent' => ActionScheduler_wpCommentLogger::AGENT ) );
	delete_option( self::$has_logs_option_key );
}