How to access WordPress data outside of WordPress


How to access WordPress data outside of WordPress

A reddit user: willee_ asks a question [
How to access WordPress (user) data outside of WordPress.
There were some nice suggestions.

An elegant solution would be to create a simple WordPress plugin that responds to a given request parameter.
The example below can apply to any data.

For example:[cmd]=users.load&my_cool_plugin[id]=123

Then he will need to copy the following code into plugins/my_cool_plugin/my_cool_plugin.php.
Activate it from WP Admin – Plugins

If you’ve noticed we’re using an associative array ‘my_cool_plugin’ that will hold the command and any future parameters.
such as ‘id’ and ‘cat_id’ and that won’t conflict with the plugins’ variables.

Fuente – Source

How to access WordPress data outside of WordPress

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

Publicado en Ecommerce, Plugins y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *