Change the “Commission” header for the Recent Orders table

add_filter( ‘wcvendors_recent_order_table_columns’, ‘change_commission_label’ ); /** * Change the label of the commission column * * @param array $columns The columns to display. * * @return array */ function change_commission_label( $columns ) { $columns[‘commission’] = __( ‘Fees’, ‘wcvendors-pro’ ); return $columns;…Continue reading

Escaping Data

// instead the _e(), __() or _x() use the escaped version _e(‘Email Summary’, ‘duplicator-pro’); // this escaped version is safe to use esc_html_e(‘Email Summary’, ‘duplicator-pro’); ?> // This block is not safe to use since the data is not being…Continue reading