PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
wp-job-manager
/
includes
/
3rd-party
<?php /** * Adds additional compatibility with WP All Import. * * @package wp-job-manager */ add_action( 'pmxi_saved_post', 'wpjm_pmxi_saved_post', 10, 1 ); /** * After importing via WP All Import, adds default meta data. * * @param int $post_id */ function wpjm_pmxi_saved_post( $post_id ) { if ( 'job_listing' === get_post_type( $post_id ) ) { WP_Job_Manager_Post_Types::instance()->maybe_add_default_meta_data( $post_id ); if ( ! WP_Job_Manager_Geocode::has_location_data( $post_id ) ) { $location = get_post_meta( $post_id, '_job_location', true ); if ( $location ) { WP_Job_Manager_Geocode::generate_location_data( $post_id, $location ); } } } }
[+]
..
[-] jetpack.php
[edit]
[-] rp4wp.php
[edit]
[-] yoast.php
[edit]
[-] wpml.php
[edit]
[-] all-in-one-seo-pack.php
[edit]
[-] 3rd-party.php
[edit]
[-] polylang.php
[edit]
[-] wp-all-import.php
[edit]