Files
roi-theme/wp-content/plugins/advanced-ads/admin/views/overview-addons-line.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

31 lines
723 B
PHP
Executable File

<?php
/**
* Render a row with add-on information on the Advanced Ads overview page
*
* @var array $_addon add-on information.
*/
?>
<tr<?php echo isset( $_addon['class'] ) ? ' class="' . esc_attr( $_addon['class'] ) . '"' : ''; ?>><th>
<?php
// phpcs:ignore
echo $_addon['title'];
?>
</th>
<td>
<?php
// phpcs:ignore
echo $_addon['desc'];
?>
</td>
<td><?php if ( isset( $_addon['link'] ) && $_addon['link'] ) : ?>
<a class="button <?php echo ( isset( $_addon['link_primary'] ) ) ? 'button-primary' : 'button-secondary'; ?>" href="<?php echo esc_url( $_addon['link'] ); ?>" target="_blank">
<?php
echo esc_html( $link_title );
?>
</a>
<?php
endif;
?>
</td>
</tr>