WPDev.one
Core Function
View Source on Trac ↗

drop_index()

drop_index( mixed $table, mixed $index )

Drops a specified index from a table.

Parameters 2 required

Name / Type Description
$table
string

Database table name.

Required
$index
string

Index name to drop.

Required

Return Value

(true)
True, when finished.

Function Information

Since Version
1.0.1
Source File
wp-admin/includes/upgrade.php
Advertisement