403Webshell
Server IP : 172.67.214.6  /  Your IP : 216.73.216.84
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/redwjova/fyntric.com/wp-content/plugins/jetpack/modules/shortcodes/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/redwjova/fyntric.com/wp-content/plugins/jetpack/modules/shortcodes/houzz.php
<?php
/**
 * Houzz Embed
 *
 * Examples:
 * Post content:
 * - [houzz=http://www.houzz.com/pro/james-crisp]
 * - http://www.houzz.com/pro/james-crisp
 * Blog sidebar: [houzz=http://www.houzz.com/profile/alon w=200 h=300]
 *
 * @package automattic/jetpack
 */

// Register oEmbed provider.
wp_oembed_add_provider( '#https?://(.+?\.)?houzz\.(com|co\.uk|com\.au|de|fr|ru|jp|it|es|dk|se)/.*#i', 'https://www.houzz.com/oembed', true );

/**
 * Display shortcode
 *
 * @param array $atts Shortcode attributes.
 */
function jetpack_houzz_shortcode( $atts ) {
	$url  = substr( $atts[0], 1 );
	$args = array();
	if ( isset( $atts['w'] ) && is_numeric( $atts['w'] ) ) {
		$args['width'] = $atts['w'];
	}
	if ( isset( $atts['h'] ) && is_numeric( $atts['h'] ) ) {
		$args['height'] = $atts['h'];
	}
	$oembed = _wp_oembed_get_object();
	return $oembed->get_html( $url, $args );
}
add_shortcode( 'houzz', 'jetpack_houzz_shortcode' );

Youez - 2016 - github.com/yon3zu
LinuXploit