| | |
| | | <?php |
| | | namespace JVBase\managers; |
| | | |
| | | use JVBase\JVB; |
| | | use JVBase\managers\queue\Queue; |
| | | use WP_Post; |
| | | use WP_Term; |
| | | use WP_Query; |
| | |
| | | */ |
| | | class NewsRelationships |
| | | { |
| | | private CustomTable $relationships; |
| | | protected Cache $cache; |
| | | |
| | | public function __construct() |
| | | { |
| | |
| | | * Get all artists with news post counts |
| | | * @return array |
| | | */ |
| | | public function getAllArtistsWithNews():int |
| | | public function getAllArtistsWithNews():array |
| | | { |
| | | global $wpdb; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * @param WP_Error $result |
| | | * @param WP_Error|array $result |
| | | * @param object $operation |
| | | * @param array $data |
| | | * |