wordpress include wpdb only (wpdb for ajax)

/ Published in: PHP
Save to your folder(s)

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


RSS Icon Subscribe to comments

You need to login to post a comment.