ap_qameta_fields()

Description #

Default qameta table fields with values.

Source #

File: includes/qameta.php

function ap_qameta_fields() {
	return array(
		'post_id'      => '',
		'selected'     => false,
		'selected_id'  => 0,
		'comments'     => 0,
		'answers'      => 0,
		'ptype'        => 'question',
		'featured'     => 0,
		'closed'       => 0,
		'views'        => 0,
		'votes_up'     => 0,
		'votes_down'   => 0,
		'subscribers'  => 0,
		'flags'        => 0,
		'terms'        => '',
		'attach'       => '',
		'activities'   => '',
		'fields'       => '',
		'roles'        => '',
		'last_updated' => '',
		'is_new'       => false,
	);
}

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