Title: Javascript Access To WP PHP Functions
Last modified: August 18, 2016

---

# Javascript Access To WP PHP Functions

 *  [nickgravelyn](https://wordpress.org/support/users/nickgravelyn/)
 * (@nickgravelyn)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/javascript-access-to-wp-php-functions/)
 * Is there a way for Javascript to use the WordPress PHP functions? I want to display
   things like my links, pages, and categories using Javascript. So far I haven’t
   been able to figure this out.

Viewing 1 replies (of 1 total)

 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/javascript-access-to-wp-php-functions/#post-328413)
 * Yeah…. it doesn’t work like that. Javascript is a client side language, which
   will run in the browser window. PHP on the other hand is a server side language
   which means it runs on the server… and not on the client. There is no direct 
   easy way to make the to talk to each other. Not impossible… but not easily.
 * -tg

Viewing 1 replies (of 1 total)

The topic ‘Javascript Access To WP PHP Functions’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [TechGnome](https://wordpress.org/support/users/techgnome/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/javascript-access-to-wp-php-functions/#post-328413)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
