ud::template_part::path

ud::template_part::path

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.3.3.0

apply_filters('ud::template_part::path') is found 1 times:

  • /vendor/udx/lib-utility/lib/class-utility.php line 1772
              'load' => false,
            ) );
    
            //** Allows to add/change templates storage directory. */
            $path = apply_filters( "ud::template_part::path", $path, $name, $opts );
    
            foreach ( $name as $n ) {
              $n = "{$n}.php";
              $template = locate_template( $n, false );
              if ( empty( $template ) && !empty( $path ) ) {
                foreach ( (array)$path as $p ) {