Files
roi-theme/wp-content/plugins/seo-by-rank-math/includes/modules/schema/shortcode/videoobject.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

27 lines
514 B
PHP
Executable File

<?php
/**
* Shortcode - Video
*
* @package RankMath
* @subpackage RankMath\Schema
*/
defined( 'ABSPATH' ) || exit;
global $wp_embed;
$this->get_title();
?>
<div class="rank-math-review-data">
<?php $this->get_description(); ?>
<?php
if ( ! empty( $this->schema['embedUrl'] ) ) {
echo do_shortcode( $wp_embed->autoembed( $this->schema['embedUrl'] ) );
} elseif ( ! empty( $this->schema['contentUrl'] ) ) {
echo do_shortcode( $wp_embed->autoembed( $this->schema['contentUrl'] ) );
}
?>
</div>