⏱ Limited Time Offer

How to add a custom overlay icon for the member Image

Suppose you want to add a custom overlay icon for the member image. You can easily add a custom overlay icon with the custom code below. If you check the code, you will see a filter hook (sptp_member_image_overlay_icon) available in the plugin, which allows you to modify the plugin’s functionality. For example, we have added a custom icon in the code. You can change it and use the icon you want.

Simply add the following custom code to your current theme’s functions.php file.

function sptp_member_image_overlay_custom_icon(){
    return '<i class="fa fa-play"></i>';
}
add_filter( 'sptp_member_image_overlay_icon', 'sptp_member_image_overlay_custom_icon' );