Created
March 5, 2020 03:04
-
-
Save kurudrive/ae47485be2a51295c9542a7747e1289f to your computer and use it in GitHub Desktop.
ExUnitのカスタム分類リストウィジェットに投稿件数を表示する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'veu_widget_taxlist_args', 'my_veu_widget_taxlist_args' ); | |
function my_veu_widget_taxlist_args( $tax_args ) { | |
$tax_args['show_count'] = true; | |
return $tax_args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment