do_action( ‘wp_abilities_api_init’, WP_Abilities_Registry $instance )

In this article

Fires when preparing abilities registry.

Description

Abilities should be created and register their hooks on this action rather than another action to ensure they’re only loaded when needed.

Parameters

$instanceWP_Abilities_Registry
Abilities registry object.

Source

do_action( 'wp_abilities_api_init', self::$instance );

Changelog

VersionDescription
6.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.