Like this answer…
Sorry, but why to copy the complete function and kill the future of updates when an applay_filters() is there?
add_filter( 'avf_default_icons', function ($icons) {
$icons['twitter'] = array( 'font' => 'entypo-fontello', 'icon' => 'ue8f1');
return $icons;
});
this would be the correct answer.
But the thread is closed and I cant provide the correct answer.
I can understand, that the mods dont have the time to answer and code for everyone, but please let the community help themself.
Hey BlutVampir,
Thank you for sharing the solution.
Is ue8f1 the entypo-fontello code for the X icon? We’ll forward it to the previous thread.
Best regards,
Ismael
no, thats the normal Twitter image, But anyone can upload the X icon as new font and then change it via the add_filter.
like
add_filter( 'avf_default_icons', function ($icons) {
$icons['twitter'] = array( 'font' => 'yourownfont', 'icon' => 'your-icon');
return $icons;
});
then its done.
in the orther thread, there was the “copy the full function to the child” as solution, which is not a good option.