New answers tagged wordpress.org
0
function myFilter2($query)
{
if ($query->is_category())
{
$currently_listing_categories = $query->get('cat');
print_r($currently_listing_categories);
}
}
add_filter('pre_get_posts','myFilter2');
you should use
1, $query->is_category() instead of accessing the ...
3
You can try out the api.wordpress.org.
Take for example the secret MP6 plugin:
http://api.wordpress.org/plugins/info/1.0/mp6.xml
The current version is given by:
<version type="string">
<![CDATA[ 0.8 ]]>
</version>
and it looks like the previous versions are listed in the compatibility tag:
<compatibility type="array">
...
Top 50 recent answers are included
