passing page thumbnail in api
This commit is contained in:
parent
048735ab72
commit
3f64129269
|
|
@ -186,6 +186,7 @@ function get_all_games_datas($request)
|
|||
$currentGameDatas = array(
|
||||
'gameId' => $post->ID,
|
||||
'gameTitle' => $post->post_title,
|
||||
'gameCover' => get_the_post_thumbnail_url($post->ID, 'full'),
|
||||
);
|
||||
|
||||
if (!$post->post_content || empty($post->post_content)) continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user