File manager - Edit - /home/contenidosenred/public_html/OD/wp-content/plugins/masvideos/templates/single-episode/sources.php
Back
<?php /** * Sources Template * * This template can be overridden by copying it to yourtheme/masvideos/single-episode/sources.php. * * HOWEVER, on occasion MasVideos will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @package MasVideos/Templates * @version 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $episode; if ( ! $episode || ! ( $episode->has_sources() ) ) { return; } $sources = $episode->get_sources(); ?> <table class="episode-sources"> <thead> <tr> <th><?php echo esc_html__( 'Links', 'masvideos' ) ?></th> <th><?php echo esc_html__( 'Quality', 'masvideos' ) ?></th> <th><?php echo esc_html__( 'Language', 'masvideos' ) ?></th> <th><?php echo esc_html__( 'Player', 'masvideos' ) ?></th> <th><?php echo esc_html__( 'Date Added', 'masvideos' ) ?></th> </tr> </thead> <tbody> <?php foreach ( $sources as $key => $source ) : ?> <?php if( empty( $source['embed_content'] ) ) { continue; } ?> <tr> <td> <?php masvideos_template_single_episode_play_source_link( $source ); ?> </td> <td> <?php if( ! empty( $source['quality'] ) ) { echo wp_kses_post( $source['quality'] ); } ?> </td> <td> <?php if( ! empty( $source['language'] ) ) { echo wp_kses_post( $source['language'] ); } ?> </td> <td> <?php if( ! empty( $source['player'] ) ) { echo wp_kses_post( $source['player'] ); } ?> </td> <td> <?php if( ! empty( $source['date_added'] ) ) { echo wp_kses_post( $source['date_added'] ); } ?> </td> </tr> <?php endforeach; ?> </tbody> </table>
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings