ap_update_last_active( integer $post_id )

Description #

Updates last_active field of qameta.

Parameters #

  • $post_id
    integer (Required) Post ID.

Changelog #

VersionDescription
3.1.0Introduced.

Source #

File: includes/qameta.php

function ap_update_last_active( $post_id ) {
	return ap_insert_qameta( $post_id, array( '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