CustomCommentsFix
in package

Tags
since
1.14.0

Table of Contents

__construct()  : mixed
fixCommentsCount()  : array<string|int, mixed>|stdClass
addHooks()  : mixed
getCustomCommentTypes()  : array<string|int, string>

Methods

__construct()

public __construct() : mixed
Return values
mixed

fixCommentsCount()

public fixCommentsCount(array<string|int, mixed>|stdClass $stats, int $postId) : array<string|int, mixed>|stdClass
Parameters
$stats : array<string|int, mixed>|stdClass
$postId : int
Tags
access

protected

global

wpdb $wpdb

Return values
array<string|int, mixed>|stdClass

addHooks()

protected addHooks() : mixed
Return values
mixed

getCustomCommentTypes()

protected getCustomCommentTypes() : array<string|int, string>
Return values
array<string|int, string>

Search results