Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




add_clean_index [ WordPress Function ]

add_clean_index ( $table, $index )
Parameters:
  • (string) $table Database table name.
  • (string) $index Database table index column.
Returns:
  • (bool) True, when done with execution.
Defined at:



{@internal Missing Short Description}}

{@internal Missing Long Description}}

Source


<?php
function add_clean_index($table$index) {
    global 
$wpdb;
    
drop_index($table$index);
    
$wpdb->query("ALTER TABLE `$table` ADD INDEX ( `$index` )");
    return 
true;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics