Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

like query with prepare wordpress

$wpdb->prepare(" AND $wpdb->usermeta.meta_key = '{$wpdb->prefix}capabilities' AND $wpdb->usermeta.meta_value LIKE %s", '%' . $this->role . '%');
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #query #prepare #wordpress
ADD COMMENT
Topic
Name
6+8 =