AnsPress_Upgrader::delete_question_metatables( integer $id )
Description #
Delete old meta.
Parameters #
- $idinteger (Required) Question ID.
Source #
File: lib/class-anspress-upgrader.php
public function delete_question_metatables( $id ) { global $wpdb; if ( ! $this->meta_table_exists ) { return; } $old_views = $wpdb->query( "DELETE FROM {$wpdb->prefix}ap_meta WHERE apmeta_type = 'post_view' AND apmeta_actionid = {$id}" ); // phpcs:ignore WordPress.DB }
Expand full source code Collapse full source code View on GitHub: lib/class-anspress-upgrader.php:207
Add your comment