filters help
-
Hi ., i have already buy custom field , but please can you explain my
how to use the code you post in your sitewith pratical example ?
for example this two :
Returns an array
Used to modify or add new tabs to the settings section.add_filter( ‘business_manager_settings_tabs’, ‘example_function_for_settings_tabs’, 10, 1 );
function example_function_for_settings_tabs( $tabs ) {
print( $tabs ); //print the return value
return $tabs;
}
business_manager_XXX_settings_fieldsReturns an array
Used to modify or add new fields within a settings tab.
Replace the XXX with any of the settings tabs ID’s listed below.general
employee
client
project
document
extensions
add_filter( ‘business_manager_settings_fields’, ‘example_function_for_settings_fields’, 10, 1 );function example_function_for_settings_fields( $settings_fields ) {
print( $settings_fields ); //print the return value
return $settings_fields;
}
- The topic ‘filters help’ is closed to new replies.