wordpress library

Classes

Endpoint
WordPress

Constants

AAM_AUTHENTICATE → const String
'$AAM_PATH/authenticate'
AAM_PATH → const String
'/aam/v2'
AAM_REFRESH → const String
'$AAM_PATH/jwt/refresh'
AAM_REVOKE → const String
'$AAM_PATH/jwt/revoke'
AAM_VALIDATE → const String
'$AAM_PATH/jwt/validate'
JWT_AUTHENTICATE → const String
'$JWT_PATH/token'
JWT_PATH → const String
'/jwt-auth/v1'
JWT_VALIDATE → const String
'$JWT_PATH/token/validate'
WP_CATEGORIES → const String
'/categories'
WP_COMMENTS → const String
'/comments'
WP_MEDIA → const String
'/media'
WP_PAGES → const String
'/pages'
WP_POSTS → const String
'/posts'
WP_TAGS → const String
'/tags'
WP_USER_ME → const String
'/users/me'
WP_USERS → const String
'/users'

Functions

constructUrlParams(Map<String, String> params) String
Formats a Map of parameters to a string of URL friendly parameters.
enumStringToName(String enumString) String
Converts an enum string to enum value name.
listToUrlString<T>(List<T> items) String
Formats a list of items to a comma(,) separated string to pass it as a URL parameter.

Enums

AuthMethod
CategoryTagOrderBy
CommentOrderBy
CommentStatus
CommentType
MediaOrderBy
MediaStatus
MediaType
Order
PageOrderBy
PostCommentStatus
PostFormat
PostOrderBy
PostPageStatus
PostPingStatus
UserOrderBy
WordPressContext