Clanbite Admin

apply_filters( 'clanbite_admin_infer_icon_pack_scope', string $scope, string $id )

Filter: clanbite_admin_infer_icon_pack_scope — default all when a pack row has no scope.

Filter PHP

Parameters

$scope (string)

Default scope.

$id (string)

Sanitized pack id.

Example

add_filter( 'clanbite_admin_infer_icon_pack_scope', function ( $scope, $id ) {
	// Change $scope here.
	return $scope;
}, 10, 2 );

Defined in inc/admin/class-admin-rest.php