Tag Archives: codex

shortcode_atts

Combine user attributes with known attributes and fill in defaults when needed.The pairs should be considered to be all of the attributes which are supported by the caller and given as a list. The returned attributes will only contain the attributes in the $pairs list.

2861

Continue reading

set_post_type

Updates the post type for the post ID.The page or post cache will be cleaned for the post ID.

2847

Continue reading

set_current_user

Changes the current user by ID or name.Set $id to null and specify a name if you do not know a user’s ID.

2843

Continue reading