WPPaste WordPress Functions index
Page 158

Welcome to the WPPaste WordPress Function index. This page contains a an alphabetically sorted list of functions that are available for use in WordPress. Each function has a brief description of what it does and how it can be used. To find out more about a particular function, simply click on the function name.

plugin_dir_path()

Get the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in.

plugin_dir_url()

Get the URL directory path (with trailing slash) for the plugin __FILE__ passed in.

plugins_api()

Retrieves plugin installer pages from the WordPress.org Plugins API.

plugins_url()

Retrieves a URL within the plugins or mu-plugins directory.

populate_roles()

Execute WordPress role creation for the various WordPress versions.