The field for tags is mt_keywords
, as reference see this ticket.
The field for the category is categories
.
Important is it, that you have a array for the fields, like
$categories[0] = "cat1";
$categories[1] = "cat2";
$tags[0] = "tag1";
$tags[1] = "tag2";
$content[ 'categories' ] = $categories;
$content[ 'mt_keywords' ] = $tags;
As reference for each field it is better you use the source, not the online plattform. You should find it all in the class wp_xmlrpc_server
.
Related Posts:
- Removing unnecessary wordpress files
- wordpress inserting posts programatically through a url
- Getting trackpacks/pingbacks for a post via wordpress?
- xmlrpc how to check for errors
- Custom query to get post names beginning with a digit
- Should the value of core functions be escaped before outputting?
- Conditional Statement – check if post has an attachment image
- WooCommerce – Customer Order History Pagination
- Change dns-prefetch to preconnect with correct protocol
- submit the form to same page
- Extremely slow pageload for long post when using the_content?
- My Styles are not registering
- Create a quick start wordpress installation [closed]
- How can I add a custom class to only nav sub-menu > li > a items in WordPress?
- Word Count Function Preventing Permalink Editing
- How to call function that create table in database (plugin functionality)
- WooCommerce – Email admin with new user details
- Button not refreshing page
- Trying to add attribute to my posts’ featured image
- Detect session/cookie variable in wordpress to prevent access to documents
- Using if/else statements with output from theme options
- How to VAR_DUMP a $variable during checkout process (Is my product meta callable?)
- How to implement a rating and review system for WordPress custom posts?
- Redirect specific user role to specific site after login?
- Send multiple attachments with wp_mail in PHP
- Ordering users by custom user meta
- Set Order Status to Complete After Payment – from another site
- php function to display commenter username or login
- custom css for admin only
- Odd / Even posts add class minus first post
- Sanitizing text fields in array
- Fatal Error in wp_get_current_user() Function
- Multiple meta_key in one global $wpdb;
- What does -> mean in WordPress?
- Parsing Menu Items and Blog Posts
- How to add div blocks after certain set of post
- Making my first wordpress template
- How to update and save user metadata on page visits?
- How to optimize update_post_meta?
- Contact Form 7 – Replace database configured form template with a static file
- HTML Special Characters in URL string [closed]
- Create page template via functions.php?
- How to pass argument to add_action while the method is inside a class?
- Getting taxonomy category Image from ACF [closed]
- How can I use a text and a function php
- Warning: call_user_func() expects parameter 1 to be a valid callback, function
- How to make changes to style.php [closed]
- select wordpress custom post type
- Commas in Tag Cloud
- Modify WooCommerce used to get all orders in dashboard
- Add a product category to a specific product via a button
- WordPress can’t use ZipArchive
- Adding an Anchor Link to a wordpress menu using WPBakery Page Builder
- WordPress SQL Prepare
- Removing “There is no account with that username or email address.” error message in “/wp-login.php?action=lostpassword”
- WordPress loading progess – wp-blog-header.php
- How to hardcode header and footer in WP?
- Show a specific post in wordpress with links
- Trying to generate a CSS file in wordpress uploads folder
- What is wrong with this piece of PHP code? This is for an email template. (I am completely new to PHP)
- WP Website is shown in HTML
- Trying to add some custom text into WordPress Post title via function.php
- register_setting not save checkbox
- How can I remember an action taken by a logged in user?
- Script to generate pages – taxonomies not loaded
- cant insert data in a custom table in phpmyadmin
- get_template_part() not working with Advanced Custom Fields plugin
- List all ACF field values across every post on one page
- Closing Comments conditionally in comments.php
- wp_set_object_terms returns 500 error when called through AJAX function
- Allow user to choose header style
- Require advice handling a URL redirect from a Third Party. URL Params need to populate and then forward to payment
- How do I send a POST request with params with WordPress REST API
- Not able to add new item in wordpress home page
- Editable Student file associated with basic User ID
- html to posts, jpg to featured image, zip file contains jpg and html
- views How to load javascript on custom page template?
- Two theme locations for two menus, but only one is showing up
- How to set the plugin load order when updating the active_plugins option?
- Display Year and Month from custom field + Age Calculator
- Contact form field in wordpress menu
- Shortcodes (with a space) added to php Sample
- No Authors for custom post type
- How Can I Center the Logo in the Navigation Menu? [closed]
- Sort posts by title, sort array by largest number [duplicate]
- Get author meta of all writers
- Creating a function that sanitizes the custom metabox excerpt
- Nav Menu Display
- WordPress & PHP sessions
- Check radio get value to array
- How to add pagination for wordpress home page
- which php or css file has generated an inline style in WordPress that overwrites my css
- Your PHP installation appears to be missing the MySQL … After deleting and restarting from cpanel
- How to create shortcode of this PHP code
- advanced custom fields: repeater field within conditional statement [closed]
- please on skin.php on theme wordpress option fix on theme option to not print empty variables and empty
- How to cut a section of a URL from a string with a regular expression?
- How to pass value to add_filter wpcf7_form_tag from another function?
- Custom nav with bootstrap dropdown
- Limit a search box by CPT + taxonomies, in only one page