Can’t save meta box data in WordPress using custom post types September 8, 2022 by Tarik Billa add_action( 'save_post', ... and test if your post type is tour custom post type.