wppaste
WordPress

wp_xmlrpc_server::mw_editPost( array $args ): true|IXR_Error

Since
1.5.0
Source
wp-includes/class-wp-xmlrpc-server.php:5773
Edits a post.

Compatibility

WordPress
since 1.5.0
PHP
7.4–8.6-dev
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0), and compiles on PHP 7.4 through 8.6-dev.

Parameters

$argsarray
Method arguments. Note: arguments must be ordered as documented.
  • $0int

    Post ID.
  • $1string

    Username.
  • $2string

    Password.
  • $3array

    Content structure.
  • $4intdefault: 0

    Optional. Publish flag. 0 for draft, 1 for publish.

Return value

true|IXR_Error
True on success.

Performance profile

How much work a call to wp_xmlrpc_server::mw_editPost() does, and what it touches: the algorithmic scaling, the Zend instruction count per call across PHP versions, the hooks it hands control to, and the core code that calls it. Measured from the compiled opcodes, not a stopwatch, so every number is identical on any machine running the same PHP version, and every function in core is ranked by cost.

Cost class
Heavy

Reaches the database via get_post().

Scaling
Constant

No loop in the body: the same number of instructions runs whatever you pass in.

Instructions
44–249

Executed per call on PHP 8.5, depending on the branch taken. The body compiles to 559.

Plugin surface
2 hooks

Third-party callbacks on 'xmlrpc_call', 'xmlrpc_call_success_mw_editPost' run inside this call, and their cost is not bounded by anything here.

Called by
1

1 place in core call this, so the cost is paid more often than your own code shows.

What it touches

  • hookthird-party callbacksdo_action()called directly
  • querycontent queryget_post()called directly
  • optionoption read or writeget_option()one call below wp_xmlrpc_server::mw_editPost()

Further down the call graph this can also reach cache, serialize and transient. Those are the worst case, several calls deep and usually down an error path, not what a normal call pays.

What one call costs · 187 distinct outcomes

One number would be a lie: the work depends on which branch runs. These are every distinct cost wp_xmlrpc_server::mw_editPost() can have, taken from its control-flow graph on PHP 8.5.

WhenInstructionsCalls it makes
!$args44->escape(), ->login(), do_action(), get_post(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && is_wp_error()177->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->get_error_message(), ID()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()179->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), __()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && is_wp_error()181->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->get_error_message(), ID()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()183->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && is_wp_error()184->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->get_error_message(), ID()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && is_wp_error()185->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->get_error_message(), ID()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()186->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), __()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()187->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"188->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && is_wp_error()188->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->get_error_message(), ID()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()190->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), __()
175 further outcomes, up to 249 instructions
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"192->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && is_wp_error()192->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->get_error_message(), ID()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()194->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()195–199->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"195->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()196–201->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"196->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()199–201->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"199->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()200–203->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()201–203->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()202–207->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()202–205->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()202–204->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()203–208->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()203–205->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()203–206->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"203->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()204–207->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()205–207->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()206–209->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()206–209->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()206–208->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()207–212->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()207–210->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()207–210->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()208–211->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()208–210->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"209->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()209–214->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()209–212->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()209–211->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()209–212->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()209–212->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"210–211->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()210–213->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()210–213->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()210–213->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()210–212->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()211–214->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()211–214->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !isset($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()211–214->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()212–215->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()212–214->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"213->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()213–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()213–216->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()213–216->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()213–216->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()213–216->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()213–216->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"214–215->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()214–217->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()214–217->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"215->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()215–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()215–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()215–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"216–217->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"216–217->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"216->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()216–219->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()216–219->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()216–219->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()216–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"217–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"217->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"217–218->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()217–220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()217–220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()217–220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()217–220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()217–220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()217–220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"218–219->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()218–221->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()218–221->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"219->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()219–222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()219–222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()219–222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"220–221->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"220–221->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"220->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()220–223->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()220–223->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()220–223->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()220–223->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"221–222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"221–222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"221–222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()221–224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()221–224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"222–223->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"222->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()222–225->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()222–225->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"223–224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"223–224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"223->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"223–224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"223–224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()223–226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()223–226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()223–226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"224–225->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"224–225->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"224–225->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"224->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()224–227->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()224–227->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()224–227->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()224–227->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"225–226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"225–226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"225–226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"226–227->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"226->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()226–229->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()226–229->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"227–228->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"227–228->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"227–228->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"227–228->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"227–228->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"227–228->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error()227–230->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"228–229->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"228–229->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()228–231->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()228–231->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"229–230->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"229–230->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"229–230->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"230–231->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"230–231->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"230–231->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"230->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), __()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()230–233->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()230–233->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"231–232->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"231–232->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"231–232->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"231–232->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"231–232->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"231–232->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"232–233->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"232–233->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"233–234->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"233–234->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"233–234->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"234–235->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"234–235->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"234–235->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"234–235->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error()234–237->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"235–236->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"235–236->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && empty($content_struct) && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"236–237->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"236–237->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"237–238->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"237–238->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"237–238->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"238–239->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"238–239->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"238–239->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"238–239->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"240–241->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"240–241->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && empty($date_created) && !is_wp_error() && $post_type === "post"241–242->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"242–243->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"242–243->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"244–245->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"244–245->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), delete_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()
!$args && !empty($postdata) && current_user_can() && !$content_struct && $post_status === "publish" && $post_type !== "page" && !empty($date_created) && !is_wp_error() && $post_type === "post"248–249->escape(), ->login(), do_action(), get_post(), current_user_can(), ->escape(), current_user_can(), ->getIso(), rtrim(), iso8601_to_datetime(), iso8601_to_datetime(), compact(), wp_update_post(), is_wp_error(), ->_toggle_sticky(), ->set_custom_fields(), set_post_thumbnail(), ->add_enclosure_if_new(), ->attach_uploads(), set_post_format(), do_action()

This body has more branch combinations than are worth enumerating, so the table covers the outcomes found first rather than every one that exists.

Across PHP versions

PHPCompiledExecutedBranchesNotes
8.6-dev55944–24978
8.555944–24978
8.455944–249786 fewer instructions than PHP 8.3
8.356544–24978
8.256544–249785 more instructions than PHP 8.1
8.156044–24978
7.456044–24978

An instruction is not a fixed amount of time, so a matching count is not necessarily the same speed; what it rules out is a difference in the work itself.

Hooks and filters fired · 2

2 hooks fire while wp_xmlrpc_server::mw_editPost() runs, in this order:

  1. do_action( xmlrpc_call )actionline 5788 (+15 into the body)

    Fires after the XML-RPC user has been authenticated but before the rest of the method logic begins.

  2. do_action( xmlrpc_call_success_mw_editPost )actionline 6107 (+334 into the body)

    Fires after a post has been successfully updated via the XML-RPC MovableType API.

Uses · 21

Show all 21

Used by · 1

Source code

	public function mw_editPost( $args ) {		$this->escape( $args ); 		$post_id        = (int) $args[0];		$username       = $args[1];		$password       = $args[2];		$content_struct = $args[3];		$publish        = $args[4] ?? 0; 		$user = $this->login( $username, $password );		if ( ! $user ) {			return $this->error;		} 		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */		do_action( 'xmlrpc_call', 'metaWeblog.editPost', $args, $this ); 		$postdata = get_post( $post_id, ARRAY_A ); 		/*		 * If there is no post data for the give post ID, stop now and return an error.		 * Otherwise a new post will be created (which was the old behavior).		 */		if ( ! $postdata || empty( $postdata['ID'] ) ) {			return new IXR_Error( 404, __( 'Invalid post ID.' ) );		} 		if ( ! current_user_can( 'edit_post', $post_id ) ) {			return new IXR_Error( 401, __( 'Sorry, you are not allowed to edit this post.' ) );		} 		// Use wp.editPost to edit post types other than post and page.		if ( ! in_array( $postdata['post_type'], array( 'post', 'page' ), true ) ) {			return new IXR_Error( 401, __( 'Invalid post type.' ) );		} 		// Thwart attempt to change the post type.		if ( ! empty( $content_struct['post_type'] ) && ( $content_struct['post_type'] !== $postdata['post_type'] ) ) {			return new IXR_Error( 401, __( 'The post type may not be changed.' ) );		} 		// Check for a valid post format if one was given.		if ( isset( $content_struct['wp_post_format'] ) ) {			$content_struct['wp_post_format'] = sanitize_key( $content_struct['wp_post_format'] );			if ( ! array_key_exists( $content_struct['wp_post_format'], get_post_format_strings() ) ) {				return new IXR_Error( 404, __( 'Invalid post format.' ) );			}		} 		$this->escape( $postdata ); 		$post_id        = $postdata['ID'];		$post_content   = $postdata['post_content'];		$post_title     = $postdata['post_title'];		$post_excerpt   = $postdata['post_excerpt'];		$post_password  = $postdata['post_password'];		$post_parent    = $postdata['post_parent'];		$post_type      = $postdata['post_type'];		$menu_order     = $postdata['menu_order'];		$ping_status    = $postdata['ping_status'];		$comment_status = $postdata['comment_status']; 		// Let WordPress manage slug if none was provided.		$post_name = $postdata['post_name'];		if ( isset( $content_struct['wp_slug'] ) ) {			$post_name = $content_struct['wp_slug'];		} 		// Only use a password if one was given.		if ( isset( $content_struct['wp_password'] ) ) {			$post_password = $content_struct['wp_password'];		} 		// Only set a post parent if one was given.		if ( isset( $content_struct['wp_page_parent_id'] ) ) {			$post_parent = $content_struct['wp_page_parent_id'];		} 		// Only set the 'menu_order' if it was given.		if ( isset( $content_struct['wp_page_order'] ) ) {

Changelog

Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/class-wp-xmlrpc-server.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.