dev-master
9999999-devFlexPress popular posts component
MIT
The Requires
v1.0.0
1.0.0.0FlexPress popular posts component
MIT
The Requires
FlexPress popular posts component
$pimple['popularPostsHelper'] = function() { return new PopularPosts(); };
$popularPostsHelper = $pimple['popularPostsHelper']; $popularPosts = $popularPostsHelper->getPopular('post');
The getPopular method takes 3 params: - The post type, can be an array/string, defaults to any. - The total results you want back, defaults to five. - How many to offset the results by, defaults to zero., (*1)
FlexPress popular posts component
MIT
FlexPress popular posts component
MIT