WP Manifestindependent plugin directory
manifest / developer / wp-handsontable-core

WP HandsOnTable Core

Support functions HandsOnTable in Wordpress. This plugin is a service and not directly caused, but only adds classes required other plugins.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ivannin/wp-handsontable-core/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Функционал HandsOnTable в других проектах WP

Данный плагин добавляет код класса, формирующего вывод таблицы HandsOnTable

Пример кода проверки активации wp-handsontable-core в вашем плагине

if ( ! defined( 'WP_HOT_CORE_VERSION' )) 
{
    add_action( 'admin_notices', 'my_wp_hot_core_missing' );
    deactivate_plugins( plugin_basename( __FILE__ ) );
}


function my_wp_hot_core_missing() 
{
    $class = 'notice notice-error';
    $message = __( 'Для работы этого плагина третуется установка и активация wp-handsontable-core!<br/>'
                'https://github.com/ivannin/wp-handsontable-core', 'sample-text-domain' );

    printf( '<div class="%1$s"><p>%2$s</p></div>', $class, $message ); 
}