Found the solution at the problem: using “return” wasn’t the right way… have to use “echo” in this way because it isn’t a function but a simple PHP that gives back an object. Thanks again to all
Related Posts:
- How to delete all records from or empty a custom database table?
- dbDelta only creates the last table
- Is their any way to Extend WPDB class and Overwrite the Default Query Function
- Stackoverflow type of badge plugin giving warnings in WordPress 3.5
- Missing argument 2 for wpdb::prepare() Issue
- ob_end_flush error when using wpdb in plugin
- $wpdb->get_results() does not fetch results with unicode ‘WHERE’ clause
- post_content getting cut off on blank space on $wpdb->update
- Why am i getting this error? WordPress database error: [Query was empty]
- Inserting large amounts of data into a custom table during plugin install
- plugin ajax to external php file always return null
- When to call add_filter
- Doubt using $wpbd->get_col for a single column
- Access WordPress database outside of WordPress
- Correct way to perform non-cacheable DB query
- Help With MySQL to WPDB Query Conversion
- Creating mySQL procedure with $wpdb
- Problem with creating tables for Plugin
- Change commission_status paid when withdraw_status vendor is completed
- $wpdb->get_row returns column name instead of column value
- Create a table with wordpress plugin boilerplate
- plugin code is pulling information from database in one instance and not in other. What is wrong?
- Object method calling for global $wpdb in header.php
- Using wpdb without loading all plug-ins via wp-load.php
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- How to insert multiple postmeta values with one query?
- Cannot get wpdb data (Error in a simple fuction) [closed]
- WPDB: Update table
- Issue running db create table query from static method
- $wpdb update query in plugin only updating one column
- Mowing site to another domain in simplest way
- Store plugin page content in wp_options?
- Displaying data from another database
- Using $wpdb in a plugin, what sort of data does it return?
- How to access the WordPress DB from a plugin file
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Linked pages from plugin on front can’t see $wpdb
- Need help creating asynchronous data scraper in WordPress
- How to fetch WordPress database values in JavaScript widget
- $wpdb->delete not working for me
- any word search WordPress
- How to securely controlling data without keeping it in postmeta?
- Using id to show item
- No result after wpdb->insert
- How to fix slow comment query?
- Write mysql credentials in plugin
- Action hook “wp_insert_post” works but not for last imported post
- Proper way to trigger a MySQL query via link in a plugin
- get_var result empty for query of custom table in plugin admin
- Making plugin to use different table prefix cause permission problem
- Is it safe to increase/alter the size of the wp_post.guid column from VARCHAR(255) to VARCHAR(2048)?
- Get all the related data from WordPress DB
- $wpdb selects wrong database
- How to dispaly post informations (such as titles) in an admin plugin menu page?
- FATAL ERROR: WP complains about redeclaration [closed]
- How to check record is exist or not in WordPress CRUD Operation with $wpdb
- wp db request without refreshing the page
- How to create a dynamically created page on wordpress plugin?
- How to create wordpress widget that is fixed position on the home page
- How do I rename a category in the menu bar only?
- Remove Advanced Custom Fields plugin for client?
- How to reset the plugins without deactivate the plugin
- plugins_url() works everywhere but wp_reqister_script()
- Better WP Security : dashboard doesn’t work any more
- Too many login attempts
- How to check if an email was sent from or originated from a specific plugin?
- Wooslider custom css
- Software to run on server checking outdated wordpress installations
- Where is this strange og:description coming from?
- Using Variable in WordPress Translate Functions
- How to change the wp_upload_dir() path in plugin
- how to connect the author profile with google webmaster tools in multiuser blog?
- Plugin getting Cannot modify header information errors
- Remove timthumb.php from my custom theme
- Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category
- Ajax Plugin Not Echoing Response
- How to add options to the plugin page?
- Adding inside wp-plugin jQuery script that receives JSON-formatted data, generated by php-function inside this plugin
- iframe not showing in post (with “allow php in posts” plugin activated)
- Saving widget options from class method
- Odd /wp-admin/admin-ajax.php entries showing in Wassup
- how can I query all wordpress users of a blog
- how can I do something on new user registration?
- where do I send my ajax calls
- Automate paragraphs in a post page to have a unique anchor link
- Affect on speed of wordpress membership plugins — currently trying s2member
- JQuery prepend a function
- This WordPress plugin isn’t creating links correctly
- How to get plugin’s folders permission
- Basics of changing plugin output
- Thesis 2 custom Page
- WordPress plugin url for form submit
- Hook into the rendering of a WordPress Template
- how to place a link on the first post only using a plugin
- Minimizing scripts & css files that plugins add
- How to setup a product that has multiple price options? [closed]
- How to install Google Analytics onto site without internet access
- Best way to count visitors?
- WordPress User Post Products
- Is there any pre-existing plugin to track and block IPs with suspicious activity on my site?