wp-hide/wp_redirect
Name: wp-hide/wp_redirect
Type: Filter
Arguments: $location
This is the filter through which a redirect url can be further updated. The filter occur after the default plugin replacements.
Continue reading
Name: wp-hide/wp_redirect
Type: Filter
Arguments: $location
This is the filter through which a redirect url can be further updated. The filter occur after the default plugin replacements.
Continue reading
Name: wp-hide/get_module_item_setting
Type: Filter
Arguments: $value, $item_id
Returns: (string) $value
The action trigger on plugin admin interface Settings Changed. If this action triggered there was no error and the settings where saved successfully.
Return module components settings
Load Modules
Filter available for mu-plugins
Name: wp-hide/ob_start_callback
Type: Filter
Arguments: $buffer
This is the filter through which the plugin allow changes to outputted HTML buffer.
Continue reading
Name: wp-hide/mod_rewrite_rules
Type: Filter
Arguments: $rules, $rewrite_server_software
The filter can be used to change, add or remove any generated rewrite rules, which are being saved within .htaccess file (for Apache) or web.config file (for IIS). The same rules are being listed within the Set-up interface, so any modification through this filter will show up for Setup accordingly.
add_filter('wp-hide/mod_rewrite_rules', 'wp_hide__mod_rewrite_rules', 999, 2);
function wp_hide__mod_rewrite_rules( $rules, $server_software )
{
if ( $server_software != 'apache' )
return $rules;
$rules = '#Pass-through if another rewrite rule has been previouslly applied' .
"\n" . 'RewriteCond %{ENV:REDIRECT_STATUS} 200' .
"\n" . 'RewriteRule ^ - [L]' .
"\n\n" . $rules;
return $rules;
}
Remove general classes from body tag
This filter helps to control the preserver class array.
Preserve post class array
Name: wp-hide/interface/process
Type: Filter
Arguments: $errors, $settings, $module_settings
Returns: (array) $errors
This filter trigger when plugin admin interface is being processed. It can be used to ensure specific options are matching the requirements.
Continue reading
This functionality is available for PRO version.
Name: wp-hide/ob_start_callback/text_preserve
Type: Filter
Arguments: $buffer
This filter can be used to change any outputted HTML buffer. Similar to wp-hide/ob_start_callback except this will run inside text preserve loop.
Continue reading
Recent Comments