WordPress plugin intelligence profile

WP Customizer

Easily load site specific functions, scripts and CSS files into your site without editing your theme's functions.php or other source files.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.8
Current version1.0.2
WordPress coverageTested up to WordPress 4.8
Minimum stackWP 4.8 · PHP —
Directory statusactive
Last directory update9 Nov 20178y ago
Active installations20Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 2 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Customizer version 1.0.2 as active, updated 8y ago and tested up to WordPress 4.8.

Overview

About this plugin

php or any other source file.

Settings and options include:

  • Choose the type of customization you want to load; functions, scripts, CSS in any combination.
  • Choose where you want the customizations to load; in the WordPress front-end, in the WordPress admin screens or both.
  • Choose where you want to store your customization files, without the need to add to or modify your theme’s or your plugin’s source files.

Filter Support And Usage

WP Customizer supports multiple filters; the plugin’s filters allow you to

  • modify the set of functions files that are about to be loaded
  • modify the set of script files that are about to be loaded
  • modify the characteristics of each script file that is about to be loaded and which will be passed as arguments to wp_enqueue_script
  • modify the set of CSS files that are about to be loaded
  • modify the characteristics of each CSS file that is about to be loaded and which will be passed as arguments to wp_enqueue_style

Each filter will be only be called if the customization type is enabled in the plugin’s options; if a customization type is enabled but no files are found to be loaded, the filter will still be called but will be passed an empty argument.

As with all WordPress filters, any filter hook function should either return the modified argument or the original argument if no modification were made.

wp_customizer_functions, wp_customizer_admin_functions, wp_customizer_common_functions

The functions filters are called when preparing to load the list of front-end functions ( wp_customizer_functions ), of admin functions ( wp_customizer_admin_functions ) and of common functions ( wp_customizer_common_functions ). The arguments that each filter hook function receives is identical in all cases. The filter hook function takes a single argument which is an array of file names.

Example: Prevent all function files from loading by returning an empty file list.

add_filter('wp_customizer_functions', 'function_handler', 10, 1);

) // );

return array(); }

wp_customizer_scripts, wp_customizer_admin_scripts, wp_customizer_common_scripts

The scripts filters are called when preparing to load the list of front-end scripts ( wp_customizer_scripts ), of admin scripts ( wp_customizer_admin_scripts ) and of common scripts ( wp_customizer_common_scripts ). The arguments that each filter hook function receives is identical in all cases. The filter hook function takes a single argument which is an array of file details.

Example: Add jQuery as a dependency to all scripts and enable each script to load in the post’s footer.

add_filter('wp_customizer_scripts', 'script_handler', 10, 1);

) // );

foreach ($files as $file) { $file['deps'] = array('jquery'); $file['in_footer'] = true; }

return $files; }

wp_customizer_css, wp_customizer_admin_css, wp_customizer_common_css

The CSS filters are called when preparing to load the list of front-end CSS ( wp_customizer_css ), of admin CSS ( wp_customizer_admin_css ) and of common CSS ( wp_customizer_common_css ). The arguments that each filter hook function receives is identical in all cases. The filter hook function takes a single argument which is an array of file details.

Example: Override the media type for all CSS files to use the screen media type.

add_filter('wp_customizer_css', 'css_handler', 10, 1);

) // );

foreach ($files as $file) { $file['media'] = 'screen'; }

return $files; }

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • wp customizer
  • customise
  • customize
  • functions
  • scripts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.8
Minimum requirementsWordPress 4.8 · PHP not listed
Update activity9 Nov 20178y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.