scbTable::__construct( string $name, string $file, string $columns, array $upgrade_method = 'dbDelta' )

Sets up table.


Package


    Description Description


    Parameters Parameters

    $name

    (string) (Required) Table name.

    $file

    (string) (Required) Reference to main plugin file.

    $columns

    (string) (Required) The SQL columns for the CREATE TABLE statement.

    $upgrade_method

    (array) (Optional) (optional)

    Default value: 'dbDelta'


    Top ↑

    Return Return

    (void)


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

    You must log in before being able to contribute a note or feedback.