Tag Archives: codex

load_template

Require the template file with WordPress environment.The globals are set up for the template file to ensure that the WordPress environment is available from within the function. The query variables are also available.

2289

Continue reading

load_plugin_textdomain

Loads the plugin’s translated strings.If the path is not given then it will be the root of the plugin directory. The .mo file should be named based on the domain with a dash, and then the locale exactly.

2287

Continue reading

load_default_textdomain

Loads default translated strings based on locale.Loads the .mo file in WP_LANG_DIR constant path from WordPress root. The translated (.mo) file is named based on the locale.

2281

Continue reading

js_escape

Escape single quotes, specialchar double quotes, and fix line endings.The filter ‘js_escape’ is also applied by esc_js()

2233

Continue reading