ap_delete_qameta( integer $post_id )

Description #

Delete qameta row.

Parameters #

  • $post_id
    integer (Required) Post ID.

Changelog #

VersionDescription
4.4.2Introduced.

Source #

File: includes/qameta.php

function ap_delete_qameta( $post_id ) {
	global $wpdb;

	if ( empty( $post_id ) ) {
		return false;
	}

	return $wpdb->delete( $wpdb->ap_qameta, array( 'post_id' => $post_id ), array( '%d' ) ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery
}

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