ap_append_table_names()

Description #

Append table name in $wpdb.

Changelog #

VersionDescription
unknownunknown
4.3.0Added ap_reputation_events.
4.1.2Introduced.

Source #

File: includes/functions.php

function ap_append_table_names() {
	global $wpdb;

	$wpdb->ap_qameta            = $wpdb->prefix . 'ap_qameta';
	$wpdb->ap_votes             = $wpdb->prefix . 'ap_votes';
	$wpdb->ap_views             = $wpdb->prefix . 'ap_views';
	$wpdb->ap_reputations       = $wpdb->prefix . 'ap_reputations';
	$wpdb->ap_subscribers       = $wpdb->prefix . 'ap_subscribers';
	$wpdb->ap_activity          = $wpdb->prefix . 'ap_activity';
	$wpdb->ap_reputation_events = $wpdb->prefix . 'ap_reputation_events';
}

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