-
Notifications
You must be signed in to change notification settings - Fork 116
Filter Reference
Allows excluded connectors to be overridden and registered.
(bool) True if excluded, otherwise false.
$connector
(string) The current connector's slug.
$excluded_connectors
(array) An array of all excluded connector slugs.
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 );
Allows for adding additional connectors via classes that extend WP_Stream_Connector
.
(array) An array of connector class names.
Since: 0.2.0
Source file: classes/class-wp-stream-connectors.php
apply_filters( 'wp_stream_connectors', $classes );
Manually disable Stream from the WP Admin for certain cases, such as, blocking specific users.
(bool) True if disabled, otherwise false.
Since: 1.4.0
Source file: classes/class-wp-stream-admin.php
apply_filters( 'wp_stream_disable_admin_access', false );
Displays an HTML comment in the front-end head to indicate that Stream is activated, and which version is currently in use.
<!-- Stream WordPress user activity plugin v2.0.0 -->
(mixed) HTML comment string. Use an empty string or FALSE
to disable.
Since: 1.4.5
Source file: stream.php
add_filter( 'wp_stream_frontend_indicator', $comment );
Allows modification of record information just before logging occurs.
(array) An array of record data.
Since: 0.2.0
Source file: classes/class-wp-stream-db.php
apply_filters( 'wp_stream_record_array', $records );