Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 74311

The built-in taxonomy 'post_tag'.

3 votes
Accepted

Setting a value on existing tag metadata field when that tag was just created by a user

to add a meta value on a term creation, you can use that : const TAXONOMIE_SLUG = "category"; add_action("create_" . TAXONOMIE_SLUG, function ($term_id, $tt_id) { $user = wp_get_current_user() …
mmm's user avatar
  • 3,795
2 votes
Accepted

Filtering a list of objects with 'OR' on the same field

the function wp_filter_object_list can only filter one value. for your filter try that : $post_tags = array_filter($post_tags, function ($e) { return in_array($e->slug, ["dog", "cat"]); });
mmm's user avatar
  • 3,795