-
Notifications
You must be signed in to change notification settings - Fork 116
Filter Reference
Allows excluded connectors to be overridden and registered.
Since: 1.3.0
Source file: classes/class-wp-stream-connectors.php
apply_filters( 'wp_stream_check_connector_is_excluded', $is_excluded, $connector, $excluded_connectors );
$is_excluded
(bool) True if excluded, otherwise false.
$connector
(string) The current connector's slug.
$excluded_connectors
(array) An array of all excluded connector slugs.
Allows for adding additional connectors via classes that extend WP_Stream_Connector
.
Since: 0.2.0
Source file: classes/class-wp-stream-connectors.php
apply_filters( 'wp_stream_connectors', $classes );
$classes
(array) An array of connector class names.
Manually disable Stream from the WP Admin for certain cases, such as, blocking specific users.
Since: 1.4.0
Source file: classes/class-wp-stream-admin.php
apply_filters( 'wp_stream_disable_admin_access', false );
(bool) True if disabled, otherwise false.
Allows modification of record information just before logging occurs.
apply_filters( 'wp_stream_record_array', $records );
$records
(array) An array of record data.
Since: 0.2.0
Source file: classes/class-wp-stream-db.php