Q: working with $wpdb class and Buddypress 1.5 (custom SQL calls)
Hey all, I’m trying to find the proper way of referencing BP tables using the $wpdb class. using $wpdb->$table reference http://codex.wordpress.org/Class_Reference/wpdb#Tables allows a smart way of reference WP table in case someone changes the table prefix.
Hoping to follow suite when referencing the BP tables, for example $wpdb->$xprofile (or something like that). Can’t find these BP table references anywhere… my goal is to add a record to wp_bp_xprofile_data correctly following the new BP 1.5 etiquette.
Any suggestions on how to keep this bulletproof would be greatly appreciated. THANKS!
The topic ‘Q: working with $wpdb class and Buddypress 1.5 (custom SQL calls)’ is closed to new replies.