AP_Update_Helper::subscribers( integer $post_id )

Description #

Update subscribers count and delete post meta.

Parameters #

  • $post_id
    integer (Required) Post ID.

Source #

File: admin/update.php

	public function subscribers( $post_id ) {
		$count = get_post_meta( $post_id, '_ap_subscriber', true );
		ap_update_subscribers_count( $post_id, $count );
		delete_post_meta( $post_id, '_ap_subscriber' );
	}

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