'url' // 5.6.8 ); // check if( isset($changed[ $name ]) ) { return $changed[ $name ]; } //return return $name; } /* * acf_validate_field * * This function will add compatibility for previously named hooks * * @type function * @date 30/1/17 * @since 5.5.6 * * @param $post_id (int) * @return $post_id (int) */ function acf_validate_field( $field ) { // 5.5.6 - changed filter name $field = apply_filters( "acf/get_valid_field/type={$field['type']}", $field ); $field = apply_filters( "acf/get_valid_field", $field ); // return return $field; } /* * acf_validate_field_group * * This function will add compatibility for previously named hooks * * @type function * @date 30/1/17 * @since 5.5.6 * * @param $post_id (int) * @return $post_id (int) */ function acf_validate_field_group( $field_group ) { // 5.5.6 - changed filter name $field_group = apply_filters('acf/get_valid_field_group', $field_group); // return return $field_group; } /* * acf_validate_post_id * * This function will add compatibility for previously named hooks * * @type function * @date 6/2/17 * @since 5.5.6 * * @param $post_id (int) * @return $post_id (int) */ function acf_validate_post_id( $post_id, $_post_id ) { // 5.5.6 - changed filter name $post_id = apply_filters('acf/get_valid_post_id', $post_id, $_post_id); // return return $post_id; } } // initialize acf()->deprecated = new acf_deprecated(); endif; // class_exists check ?>