# speechkit/6.3.0/src/Component/Settings/Tabs/Content/Content.php

BeyondWords – AI audio for publishers, version 6.3.0. 84 lines.

- Page: https://pluginprobe.com/plugins/speechkit/6.3.0/code/src/Component/Settings/Tabs/Content/Content.php
- Raw: https://pluginprobe.com/plugins/speechkit/6.3.0/raw/src/Component/Settings/Tabs/Content/Content.php
- Modified: 2026-04-12T21:25:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/speechkit/6.3.0/code/src/Component/Settings/Tabs/Content/Content.php#L10-L20`.

```php
<?php

declare(strict_types=1);

/**
 * Settings > BeyondWords > Content
 *
 * @package Beyondwords\Wordpress
 * @author  Stuart McAlpine <stu@beyondwords.io>
 * @since   5.0.0
 */

namespace Beyondwords\Wordpress\Component\Settings\Tabs\Content;

use Beyondwords\Wordpress\Component\Settings\Fields\AutoPublish\AutoPublish;
use Beyondwords\Wordpress\Component\Settings\Fields\IncludeExcerpt\IncludeExcerpt;
use Beyondwords\Wordpress\Component\Settings\Fields\IncludeTitle\IncludeTitle;
use Beyondwords\Wordpress\Component\Settings\Fields\IntegrationMethod\IntegrationMethod;
use Beyondwords\Wordpress\Component\Settings\Fields\PreselectGenerateAudio\PreselectGenerateAudio;

/**
 * "Content" settings tab
 * @since 5.0.0
 */
defined('ABSPATH') || exit;

class Content
{
    /**
     * Init
     *
     * @since 5.0.0 Introduced.
     * @since 6.0.0 Make static and add IntegrationMethod.
     */
    public static function init()
    {
        (new IntegrationMethod())::init();
        (new IncludeTitle())::init();
        (new AutoPublish())::init();
        (new IncludeExcerpt())::init();
        (new PreselectGenerateAudio())::init();

        add_action('admin_init', [self::class, 'addSettingsSection'], 5);
    }

    /**
     * Add Settings sections.
     *
     * @since 5.0.0
     * @since 6.0.0 Make static.
     */
    public static function addSettingsSection()
    {
        add_settings_section(
            'content',
            __('Content', 'speechkit'),
            [self::class, 'sectionCallback'],
            'beyondwords_content',
        );
    }

    /**
     * Section callback
     *
     * @since 5.0.0
     * @since 6.0.0 Make static.
     *
     * @return void
     **/
    public static function sectionCallback()
    {
        ?>
        <p class="description">
            <?php
            esc_html_e(
                'Only future content will be affected. To apply changes to existing content, please regenerate each post.', // phpcs:ignore Generic.Files.LineLength.TooLong
                'speechkit'
            );
            ?>
        </p>
        <?php
    }
}

```
