In plugin, I have following code in function
:
$return_string .= '<li class="wpc-category ' . $class . '"><a href="'. get_option('catalogue_page_url') .'">All Products</a></li>';
Now I want to put following condition :
<?php $currentlang = get_bloginfo('language');
if($currentlang=="en-US"): ?>
All Products
<?php else: ?>Dummy Text
<?php endif;?>
I want to replace All products . Can anyone help me please?