Browse: Home / Classes / Learndash_Admin_Import_Posts /

Learndash_Admin_Import_Posts::update_post_meta

Learndash_Admin_Import_Posts::update_post_meta( WP_Post $post,  array $metas,  bool $is_quiz )

Updates post’s meta.


Description #


Parameters #

$post

(WP_Post) (Required) The post object.

$metas

(array) (Required) Array of metas.

$is_quiz

(bool) (Required) Whether the post is part of a quiz import.


Return #

(void)


Source #

File: includes/admin/classes-import-export/import/class-learndash-admin-import-posts.php


Changelog #

Changelog
Version Description
4.3.0 Introduced.