MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/www/india/wp-content/plugins/recent-facebook-posts/recent-facebook-posts.php
<?php
/*
Plugin Name: Recent Facebook Posts
Plugin URI: https://dannyvankooten.com/donate/
Description: Lists most recent posts from a public Facebook page.
Version: 2.0.8
Author: Danny van Kooten
Author URI: https://dannyvankooten.com/
Text Domain: recent-facebook-posts
Domain Path: /languages/
License: GPL3 or later

Recent Facebook Posts Plugin
Copyright (C) 2012-2015, Danny van Kooten, support@dannyvankooten.com

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

if( ! defined( 'ABSPATH' ) ) {
    exit;
}

// Plugin Constants
define( 'RFBP_VERSION', '2.0.8' );
define( 'RFBP_PLUGIN_DIR', dirname( __FILE__ ) . '/' );

/**
 * Load the plugin files at `plugins_loaded:10`
 */
function __rfbp_bootstrap() {

	// Include Global code
	require RFBP_PLUGIN_DIR . 'includes/functions/global.php';

	if( ! is_admin() ) {

		// frontend requests
		include_once RFBP_PLUGIN_DIR . 'includes/functions/helpers.php';
		include_once RFBP_PLUGIN_DIR . 'includes/functions/template.php';
		require RFBP_PLUGIN_DIR . 'includes/class-public.php';

		$rfbp_public = RFBP_Public::instance();
		$rfbp_public->add_hooks();

	} elseif( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) {

		// admin requests
		require RFBP_PLUGIN_DIR . 'includes/class-admin.php';
		$admin = new RFBP_Admin();
		$admin->add_hooks();

	}

}

add_action( 'plugins_loaded', '__rfbp_bootstrap' );