Showing posts with label wordpress. Show all posts
Showing posts with label wordpress. Show all posts

Tuesday, May 29, 2018

explode categories from category list in wordpress


<?php
$args = array(
    'hide_empty'               => 1,  
    'exclude'                  =>array(1,2,3,4,5) // desire id
);

$categories = get_categories($args );
var_dump($categories);

?>

Featured Post

What is JavaScript? What is the role of JavaScript engine?

  The JavaScript is a Programming language that is used for converting static web pages to interactive and dynamic web pages. A JavaScript e...