redux-backup-description
The Gravity Forms Advanced File Uploader redux backup description hook.
Description
Parameters (1)
- 0. $var (unknown) =>
__( 'Here you can copy/download your current option settings. Keep this safe as you can use it as a backup should anything go wrong, or you can use it to restore your settings on this site (or any other site).', 'redux-framework' )
- The var.
Usage
- To run the hook, copy the example below.
- $var = apply_filters( 'redux-backup-description', $var );
- if ( !empty( $var ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the redux-backup-description callback
- function filter_redux_backup_description( $var ) {
- // make filter magic happen here...
- return $var;
- };
- // add the filter
- add_filter( 'redux-backup-description', 'filter_redux_backup_description', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'redux-backup-description', 'filter_redux_backup_description', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /inc/ReduxFramework/ReduxCore/inc/import_export.php
- echo '<p class="description">' . apply_filters( 'redux-backup-description', __( 'Here you can copy/download your current option settings. Keep this safe as you can use it as a backup should anything go wrong, or you can use it to restore your settings on this site (or any other site).', 'redux-framework' ) ) . '</p>';