Title: use a wordpress function in another .php to get data in same host
Last modified: September 9, 2016

---

# use a wordpress function in another .php to get data in same host

 *  [rkvisit](https://wordpress.org/support/users/rkvisit/)
 * (@rkvisit)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/use-a-wordpress-function-in-another-php-to-get-data-in-same-host/)
 * i need to create an API to access to my site processes from a mobile app.to authenticate
   mobile app i need to check whether the user is in WordPress db and issue him/
   her an authentication token.So how i can easily achieve this? If i can use WordPress
   function such as get_user_by,check password,to get this done?then what are the
   files i should include to my php
    -  This topic was modified 9 years, 9 months ago by [rkvisit](https://wordpress.org/support/users/rkvisit/).

The topic ‘use a wordpress function in another .php to get data in same host’ is
closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [rkvisit](https://wordpress.org/support/users/rkvisit/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/use-a-wordpress-function-in-another-php-to-get-data-in-same-host/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
