Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'tribe_event_featured_image', 'featured_event_img_placeholder' );
- function featured_event_img_placeholder( $html ) {
- if ( ! empty( $html ) ) return $html;
- return '<div style="width: 200px; height: 200px; background: #ddd"> </div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement