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( 'masvideos_save_custom_user_meta' ) ) { | |
| function masvideos_save_custom_user_meta( $user_id ) { | |
| $nonce_value = isset( $_POST['_wpnonce'] ) ? $_POST['_wpnonce'] : ''; | |
| $nonce_value = isset( $_POST['masvideos-register-nonce'] ) ? $_POST['masvideos-register-nonce'] : $nonce_value; | |
| if ( ! empty( $_POST['register'] ) && wp_verify_nonce( $nonce_value, 'masvideos-register' ) ) { | |
| if ( ! empty( $_POST['first_name'] ) ) { | |
| update_user_meta( $user_id, 'first_name', trim( $_POST['first_name'] ) ); | |
| } | |
| if ( ! empty( $_POST['last_name'] ) ) { |
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( 'jh_child_woocommerce_register_form_confirm_password' ) ) { | |
| function jh_child_woocommerce_register_form_confirm_password() { | |
| if ( 'no' === get_option( 'woocommerce_registration_generate_password' ) ) { | |
| ?> | |
| <p class="form-row form-row-wide"> | |
| <label for="reg_confirm_password"><?php _e( 'Confirm Password ', 'jobhunt' ); ?> <span class="required">*</span></label> | |
| <input type="password" class="woocommerce-Input woocommerce-Input--text input-text" name="confirm_password" id="reg_confirm_password" autocomplete="new-password" /> | |
| </p> | |
| <div class="clear"></div> | |
| <?php |
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( 'front_single_customer_story_sticky_end' ) ) { | |
| function front_single_customer_story_sticky_end() { | |
| ?><div id="stickyBlockEndPoint"></div><?php | |
| } | |
| } | |
| add_action( 'front_customer_story_single_post', 'front_single_customer_story_sticky_end', 50 ); |
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( 'jobhunt_candidate_socail_network' ) ) { | |
| function jobhunt_candidate_socail_network() { | |
| global $post; | |
| if( resume_manager_user_can_view_contact_details( $post->ID ) && ( ! empty( get_the_candidate_twitter_page() || get_the_candidate_facebook_page() || get_the_candidate_googleplus_page() || get_the_candidate_linkedin_page() || get_the_candidate_instagram_page() || get_the_candidate_youtube_page() || get_the_candidate_behance_page() || get_the_candidate_pinterest_page() || get_the_candidate_github_page() ) ) ) : | |
| echo '<div class="social-network-pages">'; | |
| do_action( 'get_jobhunt_candidate_socail_network' ); | |
| echo '</div>'; | |
| endif; | |
| } | |
| } |
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( 'cz_child_modify_my_account_dokan_dropdown_menu_items' ) ) { | |
| function cz_child_modify_my_account_dokan_dropdown_menu_items( $menu_items ) { | |
| if( isset( $menu_items['followers'] ) ) { | |
| unset( $menu_items['followers'] ); | |
| } | |
| if( isset( $menu_items['coupons'] ) ) { | |
| unset( $menu_items['coupons'] ); | |
| } |
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( 'cartzilla_enable_my_account_dokan_dropdown_menu_items', '__return_false' ); |
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( 'jh_child_register_form_user_role_as_employer' ) ) { | |
| function jh_child_register_form_user_role_as_employer() { | |
| if( function_exists( 'jobhunt_is_wp_job_manager_activated' ) && jobhunt_is_wp_job_manager_activated() ) { | |
| ?><input type="hidden" name="jobhunt_user_role" value="employer"/><?php | |
| } | |
| } | |
| } | |
| add_action( 'jobhunt_registration_form_fields_after', 'jh_child_register_form_user_role_as_employer', 99 ); | |
| add_filter( 'jobhunt_register_user_role_enabled', '__return_false' ); |
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( 'jh_child_submit_job_form_change_taxonomy_fields_required' ) ) { | |
| function jh_child_submit_job_form_change_taxonomy_fields_required( $fields ) { | |
| if( isset( $fields['job']['job_category'] ) ) { | |
| $fields['job']['job_category']['required'] = true; | |
| } | |
| if( isset( $fields['job']['job_listing_salary'] ) ) { | |
| $fields['job']['job_listing_salary']['required'] = true; | |
| } |
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( 'vodi_template_single_movie_sidebar_banner' ) ) { | |
| function vodi_template_single_movie_sidebar_banner() { | |
| $banner_image_id = get_post_meta( get_the_ID(), '_vodi_movie_banner_image', true ); | |
| $banner_link = get_post_meta( get_the_ID(), '_vodi_movie_banner_link', true ); | |
| $banner_content = apply_filters( 'vodi_movie_banner_content', '' ); | |
| if( ! empty( $banner_image_id ) || ! empty( $banner_content ) ) { | |
| ?><div class="single-movie__sidebar--banner-image"><?php | |
| if( ! empty( $banner_image_id ) ) { | |
| if( ! empty( $banner_link ) ) { |
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( 'cz_child_display_product_category_description' ) ) { | |
| function cz_child_display_product_category_description() { | |
| if ( is_product_category() && ! empty( term_description() ) ) { | |
| ?><div class="mb-4"><?php echo term_description(); ?></div><?php | |
| } | |
| } | |
| } | |
| add_action( 'woocommerce_before_shop_loop', 'cz_child_display_product_category_description', 16 ); |