make() make(array $args) : array|bool|int|\WP_Query Do custom queries Parameters array $args Returns array|bool|int|\WP_Query
get_recent_users() get_recent_users(int $number = 5) : array Get last users Parameters int $number Returns array
count_users_by_status() count_users_by_status( $status) : int Count users by status Parameters $status Returns int
count_users() count_users(bool $force = false) : int Count all users Parameters bool $force Avoid transient. Default false. Returns int
update_attr() update_attr( $key, $post_id, $new_value) : mixed Using wpdb instead of update_post_meta Parameters $key $post_id $new_value Returns mixed
get_attr() get_attr(string $key, int $post_id) : mixed Get postmeta related to Ultimate Member. Parameters string $key int $post_id Returns mixed
has_post_meta() has_post_meta( $key, null $value = null, null $post_id = null) : bool Checks if post has a specific meta key Parameters $key null $value null $post_id Returns bool
find_post_id() find_post_id( $post_type, $key, $value) : bool Get posts with specific meta key/value Parameters $post_type $key $value Returns bool
get_meta_value() get_meta_value(string $key, string|null $array_key = null, bool $fallback = false) : int|mixed|null|string Capture selected value Parameters string $key string|null $array_key bool $fallback Returns int|mixed|null|string
is_core() is_core( $post_id) : bool|mixed Checks if its a core page of UM Parameters $post_id Returns bool|mixed
get_users_by_status() get_users_by_status( $status, int $number = 5) : array Get users by status Parameters $status int $number Returns array