AP_Update_Helper::post_activities( $_post )
Description #
Update post activities meta.
Source #
File: admin/update.php
public function post_activities( $_post ) { global $wpdb; $activity = maybe_serialize( get_post_meta( $_post->ID, '__ap_activity', true ) ); delete_post_meta( $_post->ID, '__ap_activity' ); $wpdb->update( $wpdb->ap_qameta, [ 'activities' => $activity ], [ 'post_id' => $_post->ID ], [ '%s' ] ); }
Expand full source code Collapse full source code View on GitHub: admin/update.php:376
Add your comment