Action Reference - xwp/stream GitHub Wiki

wp_stream_admin_menu_screens

Fires just before the Stream list table is registered.

Return

(void)

Changelog

Since: 1.4.0

Source file: classes/class-wp-stream-admin.php

do_action( 'wp_stream_admin_menu_screens' );

wp_stream_after_connectors_registration

Fires after all connectors have been registered.

Return

(void)

Params

$connectors (array) An array of connector slug/label pairs.

Changelog

Since: 1.3.0

Source file: classes/class-wp-stream-connectors.php

do_action( 'wp_stream_after_connectors_registration', $connectors );

wp_stream_after_list_table

Fires after the list table is displayed.

Return

(void)

Changelog

Since: 1.0.0

Source file: classes/class-wp-stream-list-table.php

do_action( 'wp_stream_after_list_table' );

wp_stream_insert_column_default-{$column_title}

Allows for the addition of content under a specified column.

Return

(void)

Params

$item (object) Contents of the row.

Changelog

Since: 1.0.0

Source file: classes/class-wp-stream-list-table.php

do_action( "wp_stream_insert_column_default-{$column_title}", $item );

wp_stream_reports_view

Execute custom behavior before the view is included.

Return

(void)

Params

$view (object) The reports view object.

Changelog

Since: 2.0.0

Source file: extensions/reports/class-wp-stream-reports.php

do_action( 'wp_stream_reports_view', $view );

wp_stream_site_connected

Fires just after a site has been connected to Stream.

Return

(void)

Params

$site_uuid (string) The Stream Site UUID that was connected.

$api_key (string) The Stream API Key that was used to connect.

$blog_id (int) The ID of the current blog that was connected.

Changelog

Since: 2.0.0

Source file: classes/class-wp-stream-admin.php

do_action( 'wp_stream_site_connected', $site_uuid, $api_key, $blog_id );

wp_stream_site_disconnected

Fires just after a site has been disconnected from Stream.

Return

(void)

Params

$site_uuid (string) The Stream Site UUID that was disconnected.

$api_key (string) The Stream API Key that was used to disconnect.

$blog_id (int) The ID of the current blog that was disconnected.

Changelog

Since: 2.0.0

Source file: classes/class-wp-stream-admin.php

do_action( 'wp_stream_site_disconnected', $site_uuid, $api_key, $blog_id );