HEX
Server: nginx/1.27.1
System: Linux in-3 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User: ivenus-clone (3297)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v4513/tepnot/public_html/wp-content/plugins/dokan-pro/templates/widgets/feature-seller.php
<?php
/**
 * Dokan Featured Seller Widget Content Template
 *
 * @since 2.4
 *
 * @package dokan
 */
?>

<?php if ( $sellers ) : ?>
    <ul class="dokan-feature-sellers">
        <?php
		foreach ( $sellers as $key => $seller ) {
			$vendor = dokan()->vendor->get( $seller->ID );
			$rating = $vendor->get_rating();
			$display_rating = $rating['rating'];

			if ( ! $rating['count'] ) {
				$display_rating = __( 'No ratings found yet!', 'dokan' );
			}
			?>
                <li>
                    <a href="<?php echo $vendor->get_shop_url(); ?>">
					<?php echo esc_html( $vendor->get_shop_name() ); ?>
                    </a><br />
                    <i class='fa fa-star'></i>
				<?php echo $display_rating; ?>
                </li>

                <?php
		}
        ?>
    </ul>
<?php else : ?>
    <p><?php esc_html_e( 'No vendor found', 'dokan' ); ?></p>
<?php endif; ?>