gianism_additional_service_classes
gianism_additional_service_classes
Appears in: gianism.3.2.2, gianism.3.3.0, gianism.4.0.0, gianism.4.1.0, gianism.4.2.0, gianism.4.2.2, gianism.4.3.0, gianism.4.3.1, gianism.4.3.2, gianism.4.3.3, gianism.4.3.4, gianism.4.4.0, gianism.5.0.0, gianism.5.0.2, gianism.5.1.0, gianism.5.2.2
Hook Type: filter
Displaying hooks found in version: gianism.5.2.2apply_filters('gianism_additional_service_classes') is found 1 times:
- /app/Gianism/Helper/ServiceManager.php line 68
* * @filter gianism_additional_service_classes * @param array $additional_services */ $additional_services = apply_filters( 'gianism_additional_service_classes', [] ); // Register everything. $services = array_merge( $this->default_services, $additional_services ); foreach ( $services as $service => $class_name ) { if ( $this->is_callable( $class_name, 'Gianism\\Service\\AbstractService' ) ) { $this->service_classes[ $service ] = $class_name; }