' . esc_html__( 'Review rejected (moved to trash).', 'admirly' ) . '
';
}
}
public function pendingBadge(): void {
global $menu;
$count = (int) ( wp_count_posts( Plugin::CPT )->pending ?? 0 );
if ( $count < 1 || ! is_array( $menu ) ) {
return;
}
foreach ( $menu as $k => $m ) {
if ( isset( $m[2] ) && $m[2] === 'edit.php?post_type=' . Plugin::CPT ) {
$menu[ $k ][0] .= '