????JFIF??x?x????'
Server IP : 104.21.96.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/pontiacques.org/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/ |
Upload File : |
<?php su_add_shortcode( array( 'id' => 'media', 'callback' => 'su_shortcode_media', 'deprecated' => true, 'hidden' => true, ) ); function su_shortcode_media( $atts = null, $content = null ) { $atts = shortcode_atts( array( 'url' => '', 'width' => 600, 'height' => 400, 'class' => '', ), $atts, 'media' ); if ( strpos( $atts['url'], 'youtu' ) !== false ) { return su_shortcode_youtube( $atts, $content ); } elseif ( strpos( $atts['url'], 'vimeo' ) !== false ) { return su_shortcode_vimeo( $atts, $content ); } else { return '<img src="' . esc_attr( $atts['url'] ) . '" width="' . esc_attr( $atts['width'] ) . '" height="' . esc_attr( $atts['height'] ) . '" style="max-width:100%" />'; } }