'achb-editor', 'render_callback' => [$this, 'render'] ] ); wp_set_script_translations( 'achb-editor', 'custom-html', plugin_dir_path( __FILE__ ) . 'languages' ); } function render( $attributes ){ extract( $attributes ); return $HTML; } } new ACHB_Main;