public static function get_block_template( $url ) {
		$template = static::get_template( $url );
		$template = str_replace( '<a ', '<span ', $template );
		$template = str_replace( '</a>', '</span>', $template );

		// @codingStandardsIgnoreStart
		$template .= sprintf(
			'<link rel="stylesheet" href="%1$s">',
			esc_url_raw( get_template_directory_uri() . '/vendor/inc2734/wp-oembed-blog-card/src/assets/css/gutenberg-embed.min.css' )
		);
		$template .= sprintf(
			'<link rel="stylesheet" href="%1$s">',
			esc_url_raw( get_template_directory_uri() . '/vendor/inc2734/wp-oembed-blog-card/src/assets/css/app.min.css' )
		);
		// @codingStandardsIgnoreEnd

		return static::_strip_newlines( apply_filters( 'wp_oembed_blog_card_gutenberg_template', $template, $url ) );
	}
public static function get_block_template( $url ) {
		$template = static::get_template( $url );
		$template = str_replace( '<a ', '<span ', $template );
		$template = str_replace( '</a>', '</span>', $template );

		// @codingStandardsIgnoreStart
		$template .= sprintf(
			'<link rel="stylesheet" href="%1$s">',
			esc_url_raw( get_template_directory_uri() . '/vendor/inc2734/wp-oembed-blog-card/src/assets/css/gutenberg-embed.min.css' )
		);
		$template .= sprintf(
			'<link rel="stylesheet" href="%1$s">',
			esc_url_raw( get_template_directory_uri() . '/vendor/inc2734/wp-oembed-blog-card/src/assets/css/app.min.css' )
		);
		// @codingStandardsIgnoreEnd

		return static::_strip_newlines( apply_filters( 'wp_oembed_blog_card_gutenberg_template', $template, $url ) );
	}
public static function get_block_template ( $ url ) { $ template = static :: get_template ( $ url ) ; $ template = str_replace ( '<a ' , '<span ' , $ template ) ; $ template = str_replace ( '</a>' , '</span>' , $ template ) ; // @codingStandardsIgnoreStart $ template .= sprintf ( '<link rel="stylesheet" href="%1$s">' , esc_url_raw ( get_template_directory_uri ( ) . '/vendor/inc2734/wp-oembed-blog-card/src/assets/css/gutenberg-embed.min.css' ) ) ; $ template .= sprintf ( '<link rel="stylesheet" href="%1$s">' , esc_url_raw ( get_template_directory_uri ( ) . '/vendor/inc2734/wp-oembed-blog-card/src/assets/css/app.min.css' ) ) ; // @codingStandardsIgnoreEnd return static :: _strip_newlines ( apply_filters ( 'wp_oembed_blog_card_gutenberg_template' , $ template , $ url ) ) ; }
Render template for block editor

@param string $url
@return string
Render template for block editor