| | 236 | * Retrieve URI of current theme/parent stylesheet. |
| | 237 | * |
| | 238 | * The stylesheet file name is 'style.css' which is appended to {@link |
| | 239 | * get_template_directory_uri() template directory URI} path. |
| | 240 | * |
| | 241 | * @since 4.4.0 |
| | 242 | * |
| | 243 | * @return string URI to current theme/parent stylesheet. |
| | 244 | */ |
| | 245 | function get_template_stylesheet_uri() { |
| | 246 | $template_dir_uri = get_template_directory_uri(); |
| | 247 | $template_stylesheet_uri = $template_dir_uri . '/style.css'; |
| | 248 | /** |
| | 249 | * Filter the URI of the current theme/parent stylesheet. |
| | 250 | * |
| | 251 | * @since 4.4.0 |
| | 252 | * |
| | 253 | * @param string $template_stylesheet_uri Template stylesheet URI for the current theme/parent theme. |
| | 254 | * @param string $template_dir_uri Template directory URI for the current theme/parent theme. |
| | 255 | */ |
| | 256 | return apply_filters( 'template_stylesheet_uri', $template_stylesheet_uri, $template_dir_uri ); |
| | 257 | } |
| | 258 | |
| | 259 | /** |