| Server IP : 104.21.21.239 / Your IP : 216.73.217.143 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/mommybites/wp-content/plugins/mb-boards/ |
Upload File : |
<?php
/*
* Plugin Name: Mommybites Boards
* Plugin URI: http://mommybites.com
* Description: Load the "ad" boards
* Version: 0.1.0
* Author: W3ON, LLC
* Author URI: http://www.w3on.com
* Text Domain: mb-boards
*/
if ( ! defined( 'WPINC' ) ) {
die;
}
if (WP_DEBUG || 1 == 0 ) {
error_reporting(E_ALL); // log
ini_set('display_errors', '1'); // screen
// print hooks all over the screen
// $debug_tags = array();
// add_action( 'all', function ( $tag ) {
// global $debug_tags;
// if ( in_array( $tag, $debug_tags ) ) {
// return;
// }
// echo "<div>" . $tag . "</>";
// $debug_tags[] = $tag;
// } );
// echo '</div>';
}
require_once plugin_dir_path( __FILE__ ) . 'include/class-board-main.php';
require_once plugin_dir_path( __FILE__ ) . 'include/class-board-admin-main.php';
function mommybites_boards() {
$bh = new Board();
// echo $bh->get_version();
$bh->run();
$ba = new Board_Admin;
$ba->run();
}
mommybites_boards();