WPDev.one
Core Function
View Source on Trac ↗

add_clean_index()

add_clean_index( mixed $table, mixed $index )

Adds an index to a specified table.

Parameters 2 required

Name / Type Description
$table
string

Database table name.

Required
$index
string

Database table index column.

Required

Return Value

(true)
True, when done with execution.

Function Information

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