save_sub_type_condition(); } private function save_sub_type_condition() { $conditions_manager = ThemeBuilderModule::instance()->get_conditions_manager(); $sub_type = Utils::_unstable_get_super_global_value( $_REQUEST, self::REMOTE_CATEGORY_META_KEY ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended if ( ! empty( $sub_type ) && $conditions_manager->get_condition( $sub_type ) ) { $this->update_meta( self::REMOTE_CATEGORY_META_KEY, $sub_type ); $conditions_manager->save_conditions( $this->post->ID, [ [ 'include', $this->get_property( 'condition_type' ), $sub_type, ], ] ); } } }