Archive | Functions by letter w RSS feed for this section

wp_verify_nonce

Verify that correct nonce was used with time limit.The user is given an amount of time to use the token, so therefore, since the UID and $action remain the same, the independent variable is the time.

4259

Continue reading

wp_validate_redirect

Validates a URL for use in a redirect.Checks whether the $location is using an allowed host, if it has an absolute path. A plugin can therefore set or remove allowed host(s) to or from the list.

4257

Continue reading

wp_upload_dir

Get an array containing the current upload directory’s path and url.Checks the ‘upload_path’ option, which should be from the web root folder, and if it isn’t empty it will be used. If it is empty, then the path will be ‘WP_CONTENT_DIR/uploads’. If the ‘UPLOADS’ constant is defined, then it will override the ‘upload_path’ option and ‘WP_CONTENT_DIR/uploads’ path.

4251

Continue reading