wp_create_nonce('aiktp_connect'), 'isConnected' => $is_connected )); } /** * Render AIKTP Settings Page */ public static function render_settings_page() { // Get current API key and connection status $aiktp_api_key = get_option('aiktp_api_key', ''); $is_connected = !empty($aiktp_api_key); // Post Sync Settings $aiktp_author = get_option('aiktp_author', 0); $aiktp_category = get_option('aiktp_category', ''); // Get users $list_users = get_users(); $user_options = ''; foreach ($list_users as $user) { $selected = ($aiktp_author == $user->ID) ? 'selected' : ''; $user_options .= ''; } // Get categories $args = array('hide_empty' => false); $list_cat = get_categories($args); $arr_categories = !empty($aiktp_category) ? explode(',', $aiktp_category) : array(); $cat_options_li = ''; foreach ($list_cat as $cat) { $checked = in_array($cat->cat_ID, $arr_categories) ? 'checked' : ''; $cat_options_li .= '
'; } // Get WordPress site URL $wp_url = home_url(); ?>Visit aiktp.com/user-api to get your API key. Paste it into the field above and click “Connect” to link this website with AIKTP.
Site URL:
Publish AI-generated posts from aiktp.com directly to this website.
Features:
How to use: Go to aiktp.com to create and publish your AI-generated content.