AP_Update_Helper::update_answers_count( mixed $_post )

Description #

Re-count answers.

Parameters #

  • $_post
    mixed (Required) Post object.

Source #

File: admin/update.php

	public function update_answers_count( $_post ) {

		// Update answers count.
		ap_update_answers_count( $_post->ID );

		// Delete post meta.
		delete_post_meta( $_post->ID, '_ap_answers' );
	}

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