WordPress Options API add_option


Example

add_option function ins used to insert new row into options table.

This will insert a new row in options table with option name some_option_name and value as some_option_value

<?php add_option( 'some_option_name', 'some_option_value' ); ?>