[Woocommerce] How to Reorder Tab Position


function wc_reorder_tabs( $tabs ) {

$tabs['reviews']['priority'] = 15; // Reviews third
$tabs['description']['priority'] = 10; // Description second
$tabs['additional_information']['priority'] = 5; // Additional information first

return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'wc_reorder_tabs', 99 );

Related Posts

Recommended File Permissions for WordPress

July 31, 2017

Security, Tutorial, WordPress

What permissions should I have for the following: Root folder storing all the WordPress content wp-admin wp-content wp-includes On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. […]

Read More

How to Prevent SQL injection in PHP 2017

July 31, 2017

PHP, Security, Tutorial

SQL injection happens when you interpolate some content into a SQL query string, and the result modifies the syntax of your query in ways you didn’t intend. It doesn’t have to be malicious, it can be an accident. But accidental SQL injection is more likely to result in an error than in a vulnerability. The […]

Read More