gianism_additional_service_classes

gianism_additional_service_classes

Hook Type: filter

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_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;
    			}