acf/fields/icon_picker/tabs filter-hookACF 6.3

Allows filtering the tabs used by the icon picker.

Usage

add_filter( 'acf/fields/icon_picker/tabs', 'wp_kama_acf_fields_icon_picker_tabs_filter' );

/**
 * Function for `acf/fields/icon_picker/tabs` filter-hook.
 * 
 * @param array $tabs An associative array of tabs in key => label format.
 *
 * @return array
 */
function wp_kama_acf_fields_icon_picker_tabs_filter( $tabs ){
	// filter...
	return $tabs;
}
$tabs(array)
An associative array of tabs in key => label format.

Changelog

Since 6.3 Introduced.

Where the hook is called

acf_field_icon_picker::get_tabs()
acf/fields/icon_picker/tabs
acf/includes/fields/class-acf-field-icon_picker.php 70
return apply_filters( 'acf/fields/icon_picker/tabs', $tabs );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.