Files
roi-theme/wp-content/plugins/thrive-visual-editor/thrive-dashboard/inc/plugin-updates/debug-screen.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

26 lines
622 B
PHP
Executable File

<div style="margin: 20px auto; width: 911px">
<button id="transient_remove" class="button button-primary"><?php echo esc_html__( 'Remove all transients', 'thrive-dash' ); ?></button>
<hr>
<script type="text/javascript">
( function ( $ ) {
$( '#transient_remove' ).on( 'click', function () {
$.ajax( {
url: ajaxurl,
type: 'post',
data: {
_wpnonce: TVE_Dash_Const.nonce,
action: 'tve_debug_reset_transient'
}
} ).always( function ( response ) {
alert( response );
} )
} )
} )( jQuery )
</script>
<pre><?php print_r( tve_get_debug_data() ); ?></pre>
</div>