Ready to get started?Download WordPress


Default Class Filter (1 post)

  1. Anup Biswas
    Posted 1 year ago #

    its a example one of all same type issue.
    i required for change/add some classes in cat list item in function "wp_list_categories".

    i need to add like bellow.
    //Category Template Tags and API
    $class = apply_filters( 'cat_list_class',$class );

    i hope wordpress next development added this type of filtering that helps the developer more perfect work.


Topic Closed

This topic has been closed to new replies.

About this Topic