acf/validate_{$this->hook_name}

acf/validate_{$this->hook_name}

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.5

apply_filters('acf/validate_{$this->hook_name}') is found 2 times:

  • /includes/class-acf-internal-post-type.php line 282
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
         * @since   5.0.0
         *
         * @param   array $post The post array.
         */
        return apply_filters( "acf/validate_{$this->hook_name}", $post );
    }
     
    /**
     * Validates post type values before allowing save from the global $_POST object.
     * Errors are added to the form using acf_add_internal_post_type_validation_error().
     *
  • /includes/post-types/class-acf-post-type.php line 306
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
         * @since   5.0.0
         *
         * @param   array $post The post array.
         */
        return apply_filters( "acf/validate_{$this->hook_name}", $post );
    }
     
    /**
     * Validates post type values before allowing save from the global $_POST object.
     * Errors are added to the form using acf_add_internal_post_type_validation_error().
     *