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>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
/**
* Render Adsense meta box on ad edit screen.
*
* @package AdvancedAds
* @author Advanced Ads <info@wpadvancedads.com>
* @since 1.48.2
*
* @var Ad $ad Ad instance.
* @var string $report_type Value is 'domain'.
* @var string $report_filter Filter to be used.
* @var string $pub_id Adsense ID.
*/
$pub_id = Advanced_Ads_AdSense_Data::get_instance()->get_adsense_id();
// Early bail!!
if ( ! $pub_id ) {
esc_html_e( 'There is an error in your AdSense setup.', 'advanced-ads' );
return;
}
Advanced_Ads_Overview_Widgets_Callbacks::adsense_stats_js( $pub_id );
$arguments = [
'type' => $report_type,
'filter' => $report_filter,
];
$report = new Advanced_Ads_AdSense_Report( $report_type, $report_filter );
echo '<div class="advanced-ads-adsense-dashboard" data-arguments="' . esc_js( wp_json_encode( $arguments ) ) . '">';
echo wp_kses_post( $report->get_markup() );
echo '</div>';