I am creating a easy rank plugin, which permits guests to love the posts and likewise exhibits the whole like scores for every tag within the plugin’s admin web page. I would like each publish IDs (with the intention to attain the tag information of them) and like values.
That is my question in the intervening time:
$args = array(
'meta_key' => '_Like',
'orderby' => 'meta_value',
);
$question = new WP_Query($args);
However this question returns the entire publish object, it isn’t environment friendly for the reminiscence. I solely want _Like
worth and the post_id
. Is there a greater question for this ?