[Documentation](https://groundhogg.io/documentation/) » [Action Hooks](https://groundhogg.io/documentation/#doc-action-hooks)

# groundhogg/loaded

Published Wednesday, June 10, 2026 · Last updated Wednesday, June 10, 2026

Fires after Groundhogg has fully loaded and instantiated all of its components — the earliest safe point to interact with Groundhogg classes and functions.

```

do_action( 'groundhogg/loaded' );
```

This hook has no arguments.

## Example

```

add_action( 'groundhogg/loaded', 'my_extension_init' );

/**
 * Initialise the extension once Groundhogg is ready.
 *
 * @return void
 */
function my_extension_init() {
    \Groundhogg\Plugin::instance()->replacements->add(
        'my_custom_tag',
        'My Extension',
        'Custom Value',
        'my_extension_replacement_callback',
        'Returns a custom value for the contact.'
    );
}
```
