acf/load_{$this->hook_name}

acf/load_{$this->hook_name}

Hook Type: filter

See hook in core

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

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

  • /includes/class-acf-internal-post-type.php line 120
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    * @since 5.0.0
     *
     * @param array $post The post array.
     */
    $post = apply_filters( "acf/load_{$this->hook_name}", $post );
     
    // Store field group using aliases to also find via key, ID and name.
    $store->set( $post['key'], $post );
    $store->alias( $post['key'], $post['ID'] );
     
    return $post;
  • /includes/post-types/class-acf-field-group.php line 140
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    * @since 5.0.0
     *
     * @param array $post The post array.
     */
    $post = apply_filters( "acf/load_{$this->hook_name}", $post );
     
    // Store field group using aliasses to also find via key, ID and name.
    $store->set( $post['key'], $post );
    $store->alias( $post['key'], $post['ID'] );
     
    return $post;