Files
roi-theme/wp-content/plugins/thrive-ultimatum/thrive-dashboard/inc/automator/apps/class-slack-app.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

42 lines
806 B
PHP
Executable File

<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
namespace TVE\Dashboard\Automator;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
use Thrive\Automator\Items\App;
class Slack_App extends App {
public static function get_id() {
return 'slack';
}
public static function get_name() {
return 'Slack';
}
public static function get_description() {
return 'Slack';
}
public static function get_logo() {
return 'tap-slack-logo';
}
public static function has_access() {
$slack_instance = \Thrive_Dash_List_Manager::connection_instance( 'slack' );
return $slack_instance !== null && $slack_instance->is_connected();
}
public static function get_acccess_url() {
return admin_url( 'admin.php?page=tve_dash_api_connect' );
}
}