dar_redirection_url
The BP Disable Activation Reloaded dar redirection url hook.
Description
Parameters (1)
- 0. $options_redirection (unknown)
- The options redirection.
Usage
- To run the hook, copy the example below.
- $options_redirection = apply_filters( 'dar_redirection_url', $options_redirection );
- if ( !empty( $options_redirection ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the dar_redirection_url callback
- function filter_dar_redirection_url( $options_redirection ) {
- // make filter magic happen here...
- return $options_redirection;
- };
- // add the filter
- add_filter( 'dar_redirection_url', 'filter_dar_redirection_url', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'dar_redirection_url', 'filter_dar_redirection_url', 10, 1 );
Defined (2)
The filter is defined in the following location(s).
- /bp-disable-activation-loader.php
- $redirection = apply_filters('dar_redirection_url', $options['redirection']);
- $redirection = apply_filters('dar_redirection_url', $options['redirection']);