EDD Points plugin User column
Another issue I am running into with 4.0.
EDD points and Rewards adds a column tot he user table to adjust points, it was working before 4.0, and I am not table to figure out how to fix it. i reset the user table to default and still no go.
https://easydigitaldownloads.com/downloads/points-rewards/
I am guessing since their plugins column vale/content is all HTML your plugin is filtering it out?
Here is the plugins column content registration, should I see about changing that to fix the issue?
// Add Cusom column Content
add_action('manage_users_custom_column', array( $this,'edd_points_show_points_column_content'), 10, 3);
/**
* Add custom column content for users screen
*
* @package Easy Digital Downloads - Points and Rewards
* @since 1.0.0
*/
function edd_points_show_points_column_content($value, $column_name, $user_id) {
switch ($column_name){
case '_edd_userpoints' :
$points = get_user_meta( $user_id, $column_name, true );
if ( '_edd_userpoints' == $column_name)
{
$ubalance = !empty($points) ? $points : '0';
}
$balance = '<div id="edd_points_user_' . $user_id . '_balance">' . $ubalance . '</div>';
// Row actions
$row = array();
$row['history'] = '' . __( 'History', 'eddpoints' ) . '';
if ( current_user_can( 'edit_users' ) ) { // Check edit user capability
$row['adjust'] = '' . __( 'Adjust', 'eddpoints' ) . '';
}
$balance .= $this->edd_points_row_actions( $row );
return $balance;
break;
}
}
You must be logged in to reply to this topic.