Archive | Functions by letter g RSS feed for this section

get_editable_roles

Fetch a filtered list of user roles that the current user is allowed to edit.Simple function who’s main purpose is to allow filtering of the list of roles in the $wp_roles object so that plugins can remove inappropriate ones depending on the situation or user making edits. Specifically because without filtering anyone with the edit_users capability can edit others to be administrators, even if they are only editors or authors. This filter allows admins to delegate user management.

1372

Continue reading

get_dropins

Check the wp-content directory and retrieve all drop-ins with any plugin data.

1368

Continue reading

get_dirsize

Get the size of a directory.A helper function that is used primarily to check whether a blog has exceeded its allowed upload space.

1366

Continue reading

get_delete_post_link

Retrieve delete posts link for post.Can be used within the WordPress loop or outside of it, with any post type.

1364

Continue reading