%2$s', esc_url( $permalink ), esc_html( get_the_title( $related_post ) ) ); } if ( empty( $items ) ) { return $template; } $heading = ''; if ( ! empty( $args['heading'] ) && empty( $args['is_widget'] ) ) { $heading = wp_kses_post( \WebberZone\Contextual_Related_Posts\Frontend\Display::heading_title( $args ) ); } return ''; } add_filter( 'crp_custom_template', 'ad_crp_custom_template_simple_list', 10, 3 );