Clanbite Players

apply_filters( 'clanbite_players_social_profile_svg_icon', string $markup, string $slug )

Filters the inline SVG markup for a social profile icon.

Filter PHP

Parameters

$markup (string)

SVG HTML.

$slug (string)

Field slug.

Example

add_filter( 'clanbite_players_social_profile_svg_icon', function ( $markup, $slug ) {
	// Change $markup here.
	return $markup;
}, 10, 2 );

Defined in inc/extensions/players/functions.php