Get terms name__like

Get the terms by name that begin with the "name__like" parameter used by the WordPress function get_terms().

Author:keesiemijer (profile at wordpress.org)
WordPress version required:3.7
WordPress version tested:3.7.1
Plugin version:0.1
Added to WordPress repository:09-11-2013
Last updated:09-11-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:
Total downloads:1 257
Active installs:10+
plugin download
Click to start download

The "name_like" parameter was changed in WordPress 3.7 to match terms that contain the "name__like" string. Use this plugin or use the function from the plugin file in your own (child) theme if you want it to only match terms that begin with the "name__like" string as it was prior to 3.7.

This reverses the changes made in this trac ticket. http://core.trac.wordpress.org/ticket/8214

The "search" parameter does almost exactly what the "name__like" parameter does now (in 3.7), the difference being it also searches in term slugs. Use both parameters (as it was before 3.7) to get the terms you want. See: http://codex.wordpress.org/Function_Reference/get_terms#Parameters

Note: this plugin only reverses it on the front end of your website for WordPress versions 3.7 and up.


ChangeLog