Files
roi-theme/wp-content/plugins/thrive-ultimatum/thrive-dashboard/inc/notification-manager/includes/triggers/class-nm-trigger-testimonial-submitted.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

24 lines
470 B
PHP
Executable File

<?php
/**
* Thrive Themes - https://thrivethemes.com
*
* @package thrive-dashboard
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden
}
class TD_NM_Trigger_Testimonial_Submitted extends TD_NM_Trigger_Abstract {
public function applicable_on_data( $testimonial ) {
if ( defined( 'TVO_SOURCE_DIRECT_CAPTURE' ) && ! empty( $testimonial['source'] ) && TVO_SOURCE_DIRECT_CAPTURE == $testimonial['source'] ) {
return true;
}
return false;
}
}