Posted By

Zayac on 12/05/12


ajax wordpress only wpdb

Versions (?)

wordpress include wpdb only (wpdb for ajax)

 / Published in: PHP

So, you define a couple of fake funcs and require WP database config, after this you can require wp-db.php, create new wpdb and use it independency of WP for your ajax actions.

Report this snippet  

You need to login to post a comment.