Documentation

Knowledge Base - Actions / FiltersResolve all of your questions in no time

  • wph/components/rewrite-default/html_replacements

    This functionality is available for PRO version. Name: wph/components/rewrite-default/html_replacements Type: Filter Arguments: $status This filter can be used to disable the HTML Replacements on the default rewrite-default module. Keep in mind that this run if there are actual Replacements pair saved.

  • wp-hide/interface/process/minimum_slug_length

    Name: wp-hide/interface/process/minimum_slug_length Type: Filter Arguments: (int) $slug_minimum_length (array) $data Using this filter, the minimum length of a custom slug can be changed. The default is 5.

  • wp-hide/interface/process/reserved_values

    This functionality is available for PRO version. Name: wp-hide/interface/process/reserved_values Type: Filter Arguments: (array) $reserved_values Through the filter, the system reserved values can be changed, by add or remove specific slugs. A reserved_value item can contain regex patterns e.g. [^\w\-]wp[^\w\-] The following example add a new system reserved slug as “clear“.

  • wph/module/general_scripts/remove_id_attribute/ignore_ids

    This functionality is available for PRO version. Name: wph/module/general_scripts/remove_id_attribute/ignore_ids Type: Filter Arguments:(array) $ignores This filter provides a way to set ignores for scripts IDs, when using the function Remove ID from script tag

  • wph/core/set_server_type

    This filter has deprecated and replaced with a constant: WPH_SERVER_TYPE. This can be apache, nginx and is. The constant should be place on wp-config.php before the wp-hide default lines. define(‘WPH_SERVER_TYPE’, ‘apache’);       This functionality is available for PRO version. Name: wph/core/set_server_type Type: Filter Arguments: none This filter can be used to set the […]

  • wph/components/block_wp_cron_php/local_ips

    This functionality is available for PRO version. Name: wph/components/block_wp_cron_php/local_ips Type: Filter Arguments: (array) $local_ips This filter can be used to add IP’s to ignore list for which the default wp-cron.php file can still be accessible when blocking the default.

  • wph/components/components_run/ignore_component

    Name: wph/components/components_run/ignore_component Type: Filter Arguments: (bool) $ignore_component (text) $component_id ($saved_field_value) $component_id (object) $_class_instance Using this filter, specific components can be disabled. The following example disables the HTML Minification component on URL ‘/elementor-188’:

  • wph/components/force_run_on_admin

    This functionality is available for PRO version. Name: wph/components/force_run_on_admin Type: Filter Arguments: (bool) $status (string) $component_id By default, certain features will not run on the Dashboard to preserve the breaking of certain functionality. This filter can be used to force modules to run on the admin dashboard too.

  • wph/components/css_combine_code

    This functionality is available for PRO version. Name: wph/components/css_combine_code Type: Filter Arguments: $status This filter can be used to force ignore on css combine.

  • wp-hide/ob_start_callback/text_preserve

    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.

Scroll to top