For Ajax need a method to get User Auth/User ID without wp-config.php

  1. Byron

    To really set WordPress loose as a CMS, we need a method to make Ajax calls and even to have pages that don't load the entire WordPress application (as calling wp-config does), but yet can give you whether user is logged in or not and give you the User's ID.

    I have done this for my to-do list site that is built on WordPress authentication, but I fear that future upgrades will break my hack. I also use CodeIgniter's Active Record implementation for the DB layer. Works great, but not future proof.

    Posted: 11 years ago #
  2. Jen

    Closing because a year has passed without any community feedback/interest.

    Posted: 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    0 Votes
  • Status

    Sorry, not right now