AP_Update_Helper::flags( integer $post_id )
Description #
Update flags count and delete post meta.
Parameters #
- $post_idinteger (Required) Post ID.
Source #
File: admin/update.php
public function flags( $post_id ) { $count = get_post_meta( $post_id, '_ap_flag', true ); ap_set_flag_count( $post_id, $count ); delete_post_meta( $post_id, '_ap_flag' ); }
Expand full source code Collapse full source code View on GitHub: admin/update.php:279
Add your comment