Skip to content

friends_loaded

Alex Kirk edited this page Nov 22, 2024 · 10 revisions

Friends has loaded.

You can now assume that all the Friends hooks and objects are available.

Example

add_action( 'friends_loaded', function( Friends $friends ) {
     add_action( 'init', 'initialize_my_plugin' );
} );

Parameters

  • Friends\Friends $friends The friends object.

Files

do_action( 'friends_loaded', $this )

Hooks

Clone this wiki locally