aioseo_local_business_info_email_icon

Purpose

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

Arguments (1)

  1. $icon (string) – A svg icon.

Example code snippet

The code snippet below is just an example of how this filter can be used. In the example below we’ll change the email icon.

add_filter( 'aioseo_local_business_info_email_icon', 'aioseo_change_local_business_info_email_icon');

function aioseo_change_local_business_info_email_icon( $icon ) {
	return '<img src="'.get_template_directory_uri().'/assets/images/email-icon.png"/>';
}