WordPress.org

  • Showcase
  • Themes
  • Plugins
  • Mobile
  • Support
    • Documentation
    • Forums
  • Get Involved
  • About
  • Blog
  • Hosting
  • Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Methods / Page 22

wpdb::print_error()

Method: Print SQL/DB error.

Source: wp-includes/wp-db.php:1420

Used by 2 functions | Uses 5 functions

wpdb::process_fields()

Method: Processes arrays of field/value pairs and field formats.

Source: wp-includes/wp-db.php:2325

Used by 3 functions | Uses 4 functions

wpdb::process_field_charsets()

Method: Adds field charsets to field/value/format arrays generated by the wpdb::process_field_formats() method.

Source: wp-includes/wp-db.php:2394

Used by 1 function | Uses 2 functions

wpdb::process_field_formats()

Method: Prepares arrays of value/format pairs as passed to wpdb CRUD methods.

Source: wp-includes/wp-db.php:2360

Used by 1 function | Uses 0 functions

wpdb::process_field_lengths()

Method: For string fields, record the maximum string length that field can safely save.

Source: wp-includes/wp-db.php:2425

Used by 1 function | Uses 2 functions

wpdb::query()

Method: Perform a MySQL database query, using current database connection.

Source: wp-includes/wp-db.php:1855

Used by 36 functions | Uses 9 functions

wpdb::remove_placeholder_escape()

Method: Removes the placeholder escape strings from a query.

Source: wp-includes/wp-db.php:2077

Used by 0 functions | Uses 1 function

wpdb::replace()

Method: Replace a row into a table.

Source: wp-includes/wp-db.php:2127

Used by 0 functions | Uses 1 function

wpdb::select()

Method: Selects a database using the current database connection.

Source: wp-includes/wp-db.php:1087

Used by 1 function | Uses 4 functions

wpdb::set_blog_id()

Method: Sets blog id.

Source: wp-includes/wp-db.php:950

Used by 3 functions | Uses 2 functions

wpdb::set_charset()

Method: Sets the connection’s character set.

Source: wp-includes/wp-db.php:794

Used by 1 function | Uses 2 functions

wpdb::set_prefix()

Method: Sets the table prefix for the WordPress tables.

Source: wp-includes/wp-db.php:905

Used by 1 function | Uses 4 functions

wpdb::set_sql_mode()

Method: Change the current SQL mode, and ensure its WordPress compatibility.

Source: wp-includes/wp-db.php:841

Used by 1 function | Uses 2 functions

wpdb::show_errors()

Method: Enables showing of database errors.

Source: wp-includes/wp-db.php:1498

Used by 2 functions | Uses 0 functions

wpdb::strip_invalid_text()

Method: Strips any invalid characters based on value/charset pairs.

Source: wp-includes/wp-db.php:2968

Used by 3 functions | Uses 6 functions

wpdb::strip_invalid_text_for_column()

Method: Strips any invalid characters from the string for a given table and column.

Source: wp-includes/wp-db.php:3169

Used by 3 functions | Uses 4 functions

wpdb::strip_invalid_text_from_query()

Method: Strips any invalid characters from the query.

Source: wp-includes/wp-db.php:3122

Used by 1 function | Uses 4 functions

wpdb::supports_collation()

Method: Whether the database supports collation.

Source: wp-includes/wp-db.php:3450

Used by 0 functions | Uses 2 functions

wpdb::suppress_errors()

Method: Whether to suppress database errors.

Source: wp-includes/wp-db.php:1531

Used by 7 functions | Uses 0 functions

wpdb::tables()

Method: Returns an array of WordPress tables.

Source: wp-includes/wp-db.php:1021

Used by 7 functions | Uses 2 functions

wpdb::timer_start()

Method: Starts the timer, for debugging purposes.

Source: wp-includes/wp-db.php:3329

Used by 1 function | Uses 0 functions

wpdb::timer_stop()

Method: Stops the debugging timer.

Source: wp-includes/wp-db.php:3341

Used by 1 function | Uses 0 functions

wpdb::update()

Method: Update a row in the table

Source: wp-includes/wp-db.php:2214

Used by 41 functions | Uses 3 functions

wpdb::_do_query()

Method: Internal function to perform the mysql_query() call.

Source: wp-includes/wp-db.php:2001

Used by 1 function | Uses 3 functions

wpdb::_escape()

Method: Escape data. Works on arrays.

Source: wp-includes/wp-db.php:1199

Used by 4 functions | Uses 2 functions

wpdb::_insert_replace_helper()

Method: Helper function for insert and replace.

Source: wp-includes/wp-db.php:2152

Used by 2 functions | Uses 3 functions

wpdb::_real_escape()

Method: Real escape, using mysqli_real_escape_string() or mysql_real_escape_string()

Source: wp-includes/wp-db.php:1169

Used by 2 functions | Uses 3 functions

wpdb::_weak_escape()

Method: Do not use, deprecated.

Source: wp-includes/wp-db.php:1152

Used by 1 function | Uses 1 function

wpdb::__construct()

Method: Connects to the database server and selects a database

Source: wp-includes/wp-db.php:613

Used by 1 function | Uses 2 functions

wpdb::__destruct()

Method: PHP5 style destructor and will run when database object is destroyed.

Source: wp-includes/wp-db.php:649

Used by 0 functions | Uses 0 functions
« Previous 1 … 21 22 23 … 49 Next »
  • About
  • Blog
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Showcase
  • Plugins
  • Themes
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
  • @WordPress
  • WordPress

Code is Poetry.

Skip to toolbar
  • About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register