acf/delete_{$this->hook_name}

acf/delete_{$this->hook_name}

Hook Type: action

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 602
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
         * @since 5.0.0
         *
         * @param array $post The ACF post array.
         */
        do_action( "acf/delete_{$this->hook_name}", $post );
     
        return true;
    }
     
    /**
     * Trashes an ACF post.
  • /includes/post-types/class-acf-field-group.php line 232
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
         * @since 5.0.0
         *
         * @param array $post The ACF post array.
         */
        do_action( "acf/delete_{$this->hook_name}", $post );
     
        return true;
    }
     
    /**
     * Trashes an ACF field group and related fields.