GRAYBYTE WORDPRESS FILE MANAGER2704

Server IP : 162.213.255.40 / Your IP : 216.73.216.141
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/updraft/plugins-old/jetpack/modules/shortcodes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/jetpack/modules/shortcodes//wordads.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
/**
 * Wordads shortcode.
 *
 * Examples:
 * [wordads]
 *
 * @package automattic/jetpack
 */

/**
 * Embed WordAds 'ad' in post
 */
class Jetpack_WordAds_Shortcode {

	/**
	 * Used to determine whether scripts and styles have been enqueued already.
	 *
	 * @var bool false Should we enqueue scripts and styles.
	 */
	private $scripts_and_style_included = false;

	/**
	 * Initialize.
	 */
	public function __construct() {
		add_action( 'init', array( $this, 'action_init' ) );
	}

	/**
	 * Register our shortcode and enqueue necessary files.
	 */
	public function action_init() {
		global $wordads;

		if ( empty( $wordads ) ) {
			return null;
		}

		add_shortcode( 'wordads', array( $this, 'wordads_shortcode' ) );
	}

	/**
	 * Our [wordads] shortcode.
	 * Prints a WordAds Ad.
	 *
	 * @param array  $atts    Array of shortcode attributes.
	 * @param string $content Post content.
	 *
	 * @return string HTML for WordAds shortcode.
	 */
	public static function wordads_shortcode( $atts, $content = '' ) {
		$atts = shortcode_atts( array(), $atts, 'wordads' );

		return self::wordads_shortcode_html( $atts, $content );
	}

	/**
	 * The shortcode output
	 *
	 * @param array  $atts    Array of shortcode attributes.
	 * @param string $content Post content.
	 *
	 * @return string HTML output
	 */
	private static function wordads_shortcode_html( $atts, $content = '' ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
		global $wordads;

		if ( empty( $wordads ) ) {
			return '<div>' . __( 'The WordAds module is not active', 'jetpack' ) . '</div>';
		}

		$html = '<div class="jetpack-wordad" itemscope itemtype="https://schema.org/WPAdBlock"></div>';
		$html = $wordads->insert_inline_ad( $html );

		return $html;
	}
}

new Jetpack_WordAds_Shortcode();

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
css
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
images
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
img
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
js
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:27
hellrfbn / hellrfbn
0644
archiveorg-book.php
3.314 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
archiveorg.php
3.921 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
archives.php
2.38 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
bandcamp.php
7.749 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
brightcove.php
8.77 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
cartodb.php
0.784 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
class.filter-embedded-html-objects.php
13.012 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
codepen.php
0.259 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
crowdsignal.php
21.596 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
dailymotion.php
15.268 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
descript.php
2.995 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
facebook.php
4.412 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
flatio.php
0.374 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
flickr.php
9.289 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
getty.php
7.539 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
gist.php
8.313 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
googleapps.php
9.843 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
googlemaps.php
7.969 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
googleplus.php
1.029 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
gravatar.php
6.133 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
houzz.php
0.898 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
inline-pdfs.php
1.141 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
instagram.php
14.496 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
kickstarter.php
2.391 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
mailchimp.php
7.025 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
medium.php
3.223 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
mixcloud.php
3.616 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
others.php
2.061 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
pinterest.php
1.791 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
presentations.php
14.532 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
quiz.php
9.158 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
recipe.php
18.951 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
scribd.php
2.445 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
sitemap.php
0.549 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
slideshare.php
3.812 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
slideshow.php
8.932 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
smartframe.php
3.641 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
soundcloud.php
8.676 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
spotify.php
3.258 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
ted.php
3.349 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
tweet.php
5.027 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
twitchtv.php
2.625 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
twitter-timeline.php
1.933 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
unavailable.php
3.237 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
untappd-menu.php
2.406 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
upcoming-events.php
1.683 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
ustream.php
3.131 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
videopress.php
0.413 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
vimeo.php
11.13 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
vine.php
2.611 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
vr.php
4.917 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
wordads.php
1.813 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
wufoo.php
3.382 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644
youtube.php
20.755 KB
June 11 2024 05:16:28
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF