1. Go to this page and download the library: Download offsetwp/editor-support library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
offsetwp / editor-support example snippets
use OffsetWP\EditorSupport\EditorSupportManager;
$editor = EditorSupportManager::from_post_type( 'page' );
$editor
->set_classic_editor()
->remove_comments();
$editor = EditorSupportManager::from_post_type( 'page' ); // With post type
$editor = EditorSupportManager::from_post_id( 42 ); // With post ID
$editor = EditorSupportManager::from_template( 'template/contact.php' ); // With template name