Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/1534260/cwd/plugins/mojo-marketplace-wp-plugin/inc/ |
Upload File : |
<?php function mm_admin_style() { wp_enqueue_style( 'mojo-admin-css', MM_BASE_URL . 'assets/css/style.css' ); if ( isset( $_GET['page'] ) && false !== strpos( $_GET['page'], 'mojo-' ) ) { wp_enqueue_style( 'mojo-admin-roboto-css', 'https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,500' ); wp_enqueue_style( 'mojo-admin-bootstrap-css', MM_BASE_URL . 'assets/css/bootstrap.css' ); wp_enqueue_style( 'mojo-admin-main-css', MM_BASE_URL . 'assets/css/main.css' ); wp_enqueue_script( 'mojo-admin-main-js', MM_BASE_URL . 'assets/js/main.js', 'jquery' ); wp_enqueue_script( 'mojo-admin-bootstrap-js', MM_BASE_URL . 'assets/js/bootstrap.min.js', 'jquery' ); wp_enqueue_style( 'mojo-admin-bluerock-css', MM_BASE_URL . 'assets/css/bluerock.css' ); } } add_action( 'admin_init', 'mm_admin_style' ); function mm_admin_body_class( $classes ) { if ( isset( $_GET['page'] ) && false !== strpos( $_GET['page'], 'mojo-' ) ) { $classes .= ' mojo-admin-page '; } return $classes; } add_filter( 'admin_body_class', 'mm_admin_body_class' ); function mm_frontend_style() { // Only run this if there is a shortcode on the page. global $use_mm_styles; if ( $use_mm_styles ) { ?> <link rel='stylesheet' id='mojo-frontent-css' href='<?php echo MM_BASE_URL . 'assets/css/front-end.css'; ?>' type='text/css' media='all' /> <?php } } add_action( 'wp_footer', 'mm_frontend_style' );