Hi @clancel
You can change the default image by providing a custom image path in the default image filter. Please update your image path in the below code
function example_callback( $default_img_path ) {
// Maybe modify $default_img_path in some way.
return 'PUT YOUR CUSTOM IMAGE PATH HERE';
}
add_filter( 'event_manager_default_organizer_logo', 'example_callback' );
Regards,
Priya
Thank you for your reply. What is a custom image path? How do you get the code for the custom image path? I tried the slug from the Media but it’s not working. Can you advise? Thank you.
Hi @clancel
Customer image path you is path of your image which you would like to replace with our placeholder image.
Thank you
I understand but how do I get the code for it?
Hi @clancel
You will get the path from your Directory.
Regards,
Priya
-
This reply was modified 4 years, 6 months ago by
Priya Goenka.