GRAYBYTE WORDPRESS FILE MANAGER4674

Server IP : 162.213.255.40 / Your IP : 216.73.216.121
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/plugins/jetpack/modules/widgets/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/plugins/jetpack/modules/widgets//wordpress-post-widget.php
<?php
/**
 * Plugin Name: Display Recent WordPress Posts Widget
 * Description: Displays recent posts from a WordPress.com or Jetpack-enabled self-hosted WordPress site.
 * Version: 1.0
 * Author: Brad Angelcyk, Kathryn Presner, Justin Shreve, Carolyn Sonnek
 * Author URI: https://automattic.com
 * License: GPL2
 * Text Domain: jetpack
 *
 * @package automattic/jetpack
 */

/**
 * Disable direct access/execution to/of the widget code.
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit( 0 );
}

require __DIR__ . '/wordpress-post-widget/class.jetpack-display-posts-widget-base.php';
require __DIR__ . '/wordpress-post-widget/class.jetpack-display-posts-widget.php';

add_action( 'widgets_init', 'jetpack_display_posts_widget' );
/**
 * Registers widget Jetpack_Display_Posts_Widget
 */
function jetpack_display_posts_widget() {
	register_widget( 'Jetpack_Display_Posts_Widget' );
}

/**
 * Cron tasks
 */

add_filter( 'cron_schedules', 'jetpack_display_posts_widget_cron_intervals' ); // phpcs:ignore WordPress.WP.CronInterval.CronSchedulesInterval

/**
 * Adds 10 minute running interval to the cron schedules.
 *
 * @param array $current_schedules Currently defined schedules list.
 *
 * @return array
 */
function jetpack_display_posts_widget_cron_intervals( $current_schedules ) {

	/**
	 * Only add the 10 minute interval if it wasn't already set.
	 */
	if ( ! isset( $current_schedules['minutes_10'] ) ) {
		$current_schedules['minutes_10'] = array(
			'interval' => 10 * MINUTE_IN_SECONDS,
			'display'  => 'Every 10 minutes',
		);
	}

	return $current_schedules;
}

/**
 * Execute the cron task
 */
add_action( 'jetpack_display_posts_widget_cron_update', 'jetpack_display_posts_update_cron_action' );
/**
 * Run the Jetpack_Display_Posts_Widget cron task.
 */
function jetpack_display_posts_update_cron_action() {
	$widget = new Jetpack_Display_Posts_Widget();
	$widget->cron_task();
}

/**
 * Handle activation procedures for the cron.
 *
 * `updating_jetpack_version` - Handle cron activation when Jetpack gets updated. It's here
 *                              to cover the first cron activation after the update.
 *
 * `jetpack_activate_module_widgets` - Activate the cron when the Extra Sidebar widgets are activated.
 *
 * `activated_plugin` - Activate the cron when Jetpack gets activated.
 */
add_action( 'updating_jetpack_version', 'jetpack_display_posts_widget_conditionally_activate_cron' );
add_action( 'jetpack_activate_module_widgets', 'Jetpack_Display_Posts_Widget::activate_cron' );
add_action( 'activated_plugin', 'jetpack_conditionally_activate_cron_on_plugin_activation' );

/**
 * Executed when Jetpack gets activated. Tries to activate the cron if it is needed.
 *
 * @param string $plugin_file_name The plugin file that was activated.
 */
function jetpack_conditionally_activate_cron_on_plugin_activation( $plugin_file_name ) {
	if ( plugin_basename( JETPACK__PLUGIN_FILE ) === $plugin_file_name ) {
		jetpack_display_posts_widget_conditionally_activate_cron();
	}
}

/**
 * Activates the cron only when needed.
 *
 * @see Jetpack_Display_Posts_Widget::should_cron_be_running
 */
function jetpack_display_posts_widget_conditionally_activate_cron() {
	$widget = new Jetpack_Display_Posts_Widget();
	if ( $widget->should_cron_be_running() ) {
		$widget->activate_cron();
	}

	unset( $widget );
}

/**
 * End of cron activation handling.
 */

/**
 * Handle deactivation procedures where they are needed.
 *
 * If Extra Sidebar Widgets module is deactivated, the cron is not needed.
 *
 * If Jetpack is deactivated, the cron is not needed.
 */
add_action( 'jetpack_deactivate_module_widgets', 'Jetpack_Display_Posts_Widget::deactivate_cron_static' );
register_deactivation_hook( plugin_basename( JETPACK__PLUGIN_FILE ), 'Jetpack_Display_Posts_Widget::deactivate_cron_static' );

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
authors
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
contact-info
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
eu-cookie-law
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
facebook-likebox
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
flickr
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
gallery
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
goodreads
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
google-translate
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
image-widget
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
instagram
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
internet-defense-league
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
milestone
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
my-community
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
simple-payments
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
social-icons
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
social-media-icons
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
top-posts
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
wordpress-post-widget
--
July 23 2025 07:38:28
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:28
hellrfbn / hellrfbn
0644
authors.php
8.996 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
blog-stats.php
6.11 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
class-jetpack-eu-cookie-law-widget.php
10.556 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
class-jetpack-instagram-widget.php
24.046 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
contact-info.php
17.948 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
customizer-controls.css
0.161 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
customizer-utils.js
4.057 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
facebook-likebox.php
15.281 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
flickr.php
7.462 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
gallery.php
16.009 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
goodreads.php
8.714 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
google-translate.php
6.449 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
gravatar-profile.css
1.226 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
gravatar-profile.php
16.035 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
image-widget.php
12.09 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
internet-defense-league.php
5.651 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
mailchimp.php
4.288 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
milestone.php
0.338 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
my-community.php
10.931 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
rsslinks-widget.php
10.604 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
simple-payments.php
21.914 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
social-icons.php
22.41 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
social-media-icons.php
10.716 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
top-posts.php
27.647 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
twitter-timeline-admin.js
2.182 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
twitter-timeline.php
19.899 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
upcoming-events.php
6.732 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644
wordpress-post-widget.php
3.71 KB
February 05 2025 15:45:00
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF