%s',
$size,
$size,
esc_attr($platform),
$icon_data
);
}
/**
* Get all icons data (SVG paths)
*
* @return array Icons data with SVG paths
*/
private static function ayudawp_get_icons_data() {
return array(
'twitter' => '',
'linkedin' => '',
'facebook' => '',
'telegram' => '',
'whatsapp' => '',
'email' => '',
'raindrop' => '',
'reddit' => '',
'bluesky' => '',
// LINE icon - Smiley face in speech bubble (distinctive from Facebook)
'line' => '',
'claude' => '',
'chatgpt' => '',
'google_ai' => '',
'gemini' => '',
'grok' => '',
'perplexity' => '',
'deepseek' => '',
'mistral' => '',
'copilot' => ''
);
}
/**
* Get icon with wrapper for button
*
* @param string $platform Platform identifier
* @param int $size Icon size
* @return string Icon HTML with wrapper
*/
public static function ayudawp_get_button_icon($platform, $size = 16) {
$icon = self::ayudawp_get_icon($platform, $size);
if (empty($icon)) {
return '';
}
return '' . $icon . '';
}
}