Crate wp_query_rs

Source
Expand description

§WP Query Rust

A rust implementation of the classic WP_Query utility to access WordPress posts outside of a WordPress environment.

Re-exports§

pub use wp_post::add_post_meta;
pub use wp_post::get_post_meta;
pub use wp_post::post_status::PostStatus;

Modules§

wp_post

Macros§

apply_to_all_fields_ref
Applies some objects methods to all the fields on a WpPost, where the fields on the WpPost are references.
ok_or_row_error

Structs§

DateQuery
DateQueryAfterBefore
EnvVars
MetaQuery
ParamBuilder
Builds query params by chaining option callbacks
Params
Configuration for running a WordPress database query.
TaxQuery
WpQuery
WpUser

Enums§

DateColumn
MetaRelation
PostType
SqlOrder
SqlSearchOperators
TaxField
TaxRelation
WpOrderBy

Traits§

Insertable
MetaQueryable
PostQueryable

Type Aliases§

WP_Post
WP_Query