sinanisler logo

Changing Elementor Empty Placeholder Image Picture

The Elementor image widget and media-based controls display a placeholder image, unless the user selects a specific image from the media library.

By default, Elementor uses the default image located in Elementor’s plugin assets folder. However, you can replace this default image with a custom one.

 

function custom_elementor_placeholder_image() {
     return 'https://developers.elementor.com/path/to/placeholder.png';
}
add_filter( 'elementor/utils/get_placeholder_image_src', 'custom_elementor_placeholder_image' );

 

 

Leave the first comment