gdtt_widget_posttypes_list

gdtt_widget_posttypes_list($args)

  • $args: array with parameters, listed bellow.

Render results same as the Post Types List widget. $args array can contain following parameters

  • list: array with post type names.
  • counts: set to 1 to display post counts, 0 to hide them.
  • display_css: additional CSS class to add to rendered block.

Comments

Leave a Reply