all(); $mybot_stats = $plugin->logger->stats(); $mybot_queue = $plugin->queue->stats(); $mybot_progress = $plugin->indexer->get_progress(); $mybot_crypto_ok = MYBOT_Crypto::is_available(); $mybot_has_react = file_exists( MYBOT_PLUGIN_DIR . 'admin/build/index.js' ); $mybot_languages = $plugin->languages; $mybot_enabled = $mybot_languages->enabled(); $mybot_default = $mybot_languages->default_code(); /** * Renders a text input row. * * @param string $key Field name. * @param string $label Label. * @param string $description Description. * @param array $options Current options. * @return void */ function mybot_field_text( $key, $label, $description, $options ) { printf( '
%5$s
%7$s
%7$s
%s
%5$s
0 ) : ?>
' . esc_html( $mybot_processed ) . '', '' . esc_html( $mybot_queued ) . '' ); ?>
' . esc_html( number_format_i18n( $mybot_progress['pending'] ) ) . '' ); ?>
' . esc_html( (string) $mybot_lock['path'] ) . '' ); ?>
' . esc_html__( 'Requests', 'aihouse' ) . '' ); ?>
[mybot]
[mybot title="Support agent" theme="dark" mode="deep"]
POST
GET
POST