Description
Filter the array of admin tabs displayed on the WP Data Sync settings page.
Usage
add_filter(
'wp_data_sync_admin_tabs'
,
'my_admin_tabs'
, 10, 1
);
Parameters
$tabs
array
Array of admin tabs
Code Example
add_filter(
'wp_data_sync_admin_tabs'
,
'my_admin_tabs'
, 10, 1
);
function
my_admin_tabs
(
$tabs
) {
//Do cool stuff here!!
return
$tabs
;
}
Contact us if you need a better code example for this hook. We are happy to write one for you.