Home / Admin / Change Business Info Location Icon
Duplicate Snippet

Embed Snippet on Your Site

Change Business Info Location Icon

This filter can be used to change the business info location icon.

Replace "/assets/images/email-icon.png" with the icon path.

<10
Code Preview
php
<?php
add_filter( 'aioseo_local_business_info_location_icon', 'aioseo_change_local_business_info_location_icon');
function aioseo_change_local_business_info_location_icon( $icon ) {
	return '<img src="'.get_template_directory_uri().'/assets/images/location-icon.png"/>';
}

Comments

Add a Comment