Title: PHP Equivalent
Last modified: August 18, 2016

---

# PHP Equivalent

 *  [syni](https://wordpress.org/support/users/syni/)
 * (@syni)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-equivalent/)
 * Quick question… what would be the PHP equivalent command to say “is_page” or “
   is_home”?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-equivalent/#post-235433)
 * Those are WP-defined functions/variables. To look at definition, browse the source
   code.
 * I don’t really understand the question, by the way 😛
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-equivalent/#post-235436)
 * See this Codex page on conditional tags:
 * [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 * If you’re asking how to perform similar conditional testing outside of WP, a 
   somewhat equivalent method would be to use $_GET and verify the query type.
 *  Thread Starter [syni](https://wordpress.org/support/users/syni/)
 * (@syni)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/php-equivalent/#post-235445)
 * Okay, I was putting something together on how to call stylesheets by page, and
   I know how to do it in WordPress, but I was getting ready in case anybody asked
   how to do it outside of WordPress.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP Equivalent’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 3 replies
 * 3 participants
 * Last reply from: [syni](https://wordpress.org/support/users/syni/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/php-equivalent/#post-235445)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
