Title: wp_using_themes
Published: February 22, 2019
Last modified: February 24, 2026

---

# wp_using_themes(): bool

## In this article

 * [Return](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#source)
 * [Hooks](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#hooks)
 * [Related](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#wp--skip-link--target)

Determines whether the current request should use themes.

## 󠀁[Return](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#return)󠁿

 bool True if themes should be used, false otherwise.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#source)󠁿

    ```php
    function wp_using_themes() {
    	/**
    	 * Filters whether the current request should use themes.
    	 *
    	 * @since 5.1.0
    	 *
    	 * @param bool $wp_using_themes Whether the current request should use themes.
    	 */
    	return apply_filters( 'wp_using_themes', defined( 'WP_USE_THEMES' ) && WP_USE_THEMES );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/load.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-includes/load.php#L1763)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/load.php#L1763-L1772)

## 󠀁[Hooks](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#hooks)󠁿

 [apply_filters( ‘wp_using_themes’, bool $wp_using_themes )](https://developer.wordpress.org/reference/hooks/wp_using_themes/)

Filters whether the current request should use themes.

## 󠀁[Related](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#related)󠁿

| Uses | Description | 
| [apply_filters()](https://developer.wordpress.org/reference/functions/apply_filters/)`wp-includes/plugin.php` |

Calls the callback functions that have been added to a filter hook.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/wp_using_themes/?output_format=md#changelog)󠁿

| Version | Description | 
| [5.1.0](https://developer.wordpress.org/reference/since/5.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Fwp_using_themes%2F)
before being able to contribute a note or feedback.