publish ); $draft = number_format_i18n( $num_posts->draft ); $pending = number_format_i18n( $num_posts->pending ); $trash = number_format_i18n( $num_posts->trash ); $category_count = wp_count_terms( 'wpaf_coupon_category' ); $vendor_count = wp_count_terms( 'wpaf_coupon_vendor' ); if ( current_user_can( 'edit_posts' ) ) { $published = "$published"; $draft = "$draft"; $trash = "$trash"; $category_count = "$category_count"; $vendor_count = "$vendor_count"; } $install_ub_url = \wp_nonce_url( \self_admin_url( 'update.php?action=install-plugin&plugin=ultimate-blocks' ), 'install-plugin_ultimate-blocks' ); ?>