ap_update_post_activities( integer $post_id, array $activities = array() )

Description #

Update activities of a qameta.

Parameters #

  • $post_id
    integer (Required) Post ID.
  • $activities
    array (Optional) Activities. Default value: array()

Source #

File: includes/qameta.php

function ap_update_post_activities( $post_id, $activities = array() ) {
	return ap_insert_qameta(
		$post_id,
		array(
			'activities'   => $activities,
			'last_updated' => current_time( 'mysql' ),
		)
	);
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment