'', 'reminders' => '' ) ); */ } } /** * CSS */ public function enqueue_css_files( $where_to_load ) { if ( ( is_admin() ) && ( in_array( $where_to_load, array( 'admin', 'both' ) ) ) ) { wp_enqueue_style( 'wpbc-booking_ajx_print_css', trailingslashit( plugins_url( '', __FILE__ ) ) . '_out/bookings_print.css', array(), WP_BK_VERSION_NUM ); //wp_enqueue_style( 'wpbc-listing_ajx_booking', trailingslashit( plugins_url( '', __FILE__ ) ) . '_out/bookings__listing.css' , array(), WP_BK_VERSION_NUM ); } } /** * Templates * * @param $page * * @return void */ public function hook__page_footer_tmpl( $page ){ // page=wpbc&tab=vm_booking_listing if ( 'wpbc-ajx_booking' === $page ) { // it's from >> do_action( 'wpbc_hook_settings_page_footer', 'wpbc-ajx_booking' ); $this->wpbc_write_content_for_modal_print(); } } /** Print Layout - Modal Window structure */ private function wpbc_write_content_for_modal_print() { ?> init_load_css_js_tpl(); }