wp core update 6.6
This commit is contained in:
@@ -63,8 +63,8 @@ function has_post_format( $format = array(), $post = null ) {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param int|object $post The post for which to assign a format.
|
||||
* @param string $format A format to assign. Use an empty string or array to remove all formats from the post.
|
||||
* @param int|WP_Post $post The post for which to assign a format.
|
||||
* @param string $format A format to assign. Use an empty string or array to remove all formats from the post.
|
||||
* @return array|WP_Error|false Array of affected term IDs on success. WP_Error on error.
|
||||
*/
|
||||
function set_post_format( $post, $format ) {
|
||||
|
||||
Reference in New Issue
Block a user