acf/duplicate_{$this->hook_name}

acf/duplicate_{$this->hook_name}

Hook Type: action

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 747
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
         * @since 5.0.0
         *
         * @param   array $post The ACF post array.
         */
        do_action( "acf/duplicate_{$this->hook_name}", $post );
     
        return $post;
    }
     
    /**
     * Activates or deactivates an ACF post.
  • /includes/post-types/class-acf-field-group.php line 366
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
         * @since 5.0.0
         *
         * @param   array $post The ACF post array.
         */
        do_action( "acf/duplicate_{$this->hook_name}", $post );
     
        return $post;
    }
     
    /**
     * Returns a modified ACF field group array ready for export.