acf/update_{$this->hook_name}_active_status

acf/update_{$this->hook_name}_active_status

Hook Type: action

See hook in core

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

do_action('acf/update_{$this->hook_name}_active_status') is found 1 times:

  • /includes/class-acf-internal-post-type.php line 780
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    * @since 6.0.0
     *
     * @param array $updated_post The updated ACF post array.
     */
    do_action( "acf/update_{$this->hook_name}_active_status", $updated_post );
     
    if ( ! isset( $updated_post['active'] ) || $activate !== $updated_post['active'] ) {
        return false;
    }
     
    return true;