This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'vodi_child_remove_movie_action_buttons'); | |
function vodi_child_remove_movie_action_buttons() { | |
remove_action( 'masvideos_after_movies_loop_item_title', 'masvideos_template_loop_movie_actions', 20 ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'mytravel_single_yacht', 'mytravel_single_hotel_amenities', 85 ); | |
add_action( 'mytravel_single_yacht', 'mytravel_single_yacht_custom_tab', 90 ); | |
if ( ! function_exists( 'mytravel_default_yacht_tabs' ) ) { | |
/** | |
* Add default yacht tabs to yacht pages. | |
* | |
* @param array $tabs Array of tabs. | |
* @return array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'mytravel_single_tour_itinerary' ) ) { | |
/** | |
* Output of single tour itinerary | |
*/ | |
function mytravel_single_tour_itinerary() { | |
if ( ! mytravel_is_acf_activated() ) { | |
return; | |
} | |
$tour_itinerary = mytravel_get_field( 'itinerary_places' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'mytravel_single_tour_sidebar', 'mytravel_single_product_sidebar', 10 ); | |
if ( ! function_exists( 'mytravel_single_product_sidebar' ) ) { | |
/** | |
* Single tour sidebar functions | |
*/ | |
function mytravel_single_product_sidebar() { | |
global $product, $post; | |
$price_html = $product->get_price_html(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body, | |
#courseForm.create-course .tutor-course-builder-section #tutor-course-content-builder-root .tutor-quiz-builder-modal-wrap .quiz-builder-tab-container .h1, | |
#courseForm.create-course .tutor-course-builder-section #tutor-course-content-builder-root .tutor-quiz-builder-modal-wrap .quiz-builder-tab-container h1, | |
#courseForm.create-course .tutor-course-builder-section #tutor-course-content-builder-root .tutor-quiz-builder-modal-wrap .tutor-quiz-feedback-mode-option .tutor-quiz-feedback-option-option-title, | |
#courseForm.create-course .tutor-course-builder-section .modal-header .modal-title .h1, | |
#courseForm.create-course .tutor-course-builder-section .modal-header .modal-title h1, | |
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{ | |
font-family: "Inter", "sans-serif"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'mytravel_default_tour_tabs' ) ) { | |
/** | |
* Add default tour tabs to hotel pages. | |
* | |
* @param array $tabs Array of tabs. | |
* @return array | |
*/ | |
function mytravel_default_tour_tabs( $tabs = array() ) { | |
global $product, $post; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'mytravel_woocommerce_args', 'mytravel_child_woocommerce_args'); | |
function mytravel_child_woocommerce_args( $args ) { | |
$args = array( | |
'default_columns' => 5, | |
'default_rows' => 5, | |
'min_columns' => 1, | |
'max_columns' => 6, | |
'min_rows' => 1 | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mas_travels_hotel_review_comment_form_args( $comment_form ) { | |
$comment_form['comment_field'] = ''; | |
if ( wc_review_ratings_enabled() ) { | |
$rating_options = '<option value="">' . esc_html__( 'Rate…', 'mas-travels' ) . '</option> | |
<option value="5">' . esc_html__( 'Perfect', 'mas-travels' ) . '</option> | |
<option value="4">' . esc_html__( 'Good', 'mas-travels' ) . '</option> | |
<option value="3">' . esc_html__( 'Average', 'mas-travels' ) . '</option> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'mytravel_remove_map_location' ); | |
function mytravel_remove_map_location() { | |
remove_action( 'mytravel_single_tour', 'mytravel_single_hotel_location_map', 70 ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$is_enrolled = apply_filters( 'tutor_alter_enroll_status', tutor_utils()->is_enrolled() ); | |
?> | |
<div class="p-lg-5 py-5"> | |
<div class="container"> | |
<?php if ( tutor_utils()->has_video_in_single() || has_post_thumbnail() ) { | |
?> | |
<div class="row"> | |
<div class="col-lg-12 col-md-12 col-12 mb-5"> |