gianism_filter_service_prefix

gianism_filter_service_prefix

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: gianism.5.2.2

apply_filters('gianism_filter_service_prefix') is found 1 times:

  • /app/Gianism/Controller/Rewrite.php line 158
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    *
     * @since 3.0.0
     * @param string $service
     */
    $filtered_service = apply_filters( 'gianism_filter_service_prefix', $service );
    if ( in_array( $service, $this->prefixes, true ) && ( $this->service->get( $filtered_service ) ) ) {
        nocache_headers();
        /** @var AbstractService $instance */
        // Parse Request
        $this->service->get( $filtered_service )->parse_request( $action, $wp_query );
    } else {

See this hook used in plugins: