Files
roi-theme/wp-content/plugins/sociallocker-next-premium/panda-items/signin-locker/admin/stats/summary.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

51 lines
1.5 KiB
PHP
Executable File

<?php
class OPanda_SignInLocker_Summary_StatsTable extends OPanda_StatsTable {
public function getColumns() {
return array(
'index' => array(
'title' => ''
),
'title' => array(
'title' => __('Post Title', 'signinlocker')
),
'impress' => array(
'title' => __('Impressions', 'signinlocker'),
'cssClass' => 'opanda-col-number'
),
'unlock' => array(
'title' => __('Number of Unlocks', 'signinlocker'),
'hint' => __('The number of unlocks made by visitors.', 'signinlocker'),
'highlight' => true,
'cssClass' => 'opanda-col-number'
),
'conversion' => array(
'title' => __('Conversion', 'signinlocker'),
'hint' => __('The ratio of the number of unlocks to impressions, in percentage.', 'signinlocker'),
'cssClass' => 'opanda-col-number'
)
);
}
}
class OPanda_SignInLocker_Summary_StatsChart extends OPanda_StatsChart {
public function getSelectors() {
return null;
}
public function getFields() {
return array(
'aggregate_date' => array(
'title' => __('Date')
),
'unlock' => array(
'title' => __('Number of Unlocks'),
'color' => '#0074a2'
)
);
}
}