- 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>
20 lines
685 B
PHP
Executable File
20 lines
685 B
PHP
Executable File
<?php
|
|
/**
|
|
* Render the group usage column content in the group table.
|
|
*
|
|
* @package AdvancedAds
|
|
* @author Advanced Ads <info@wpadvancedads.com>
|
|
* @since 1.48.0
|
|
*
|
|
* @var Group $group Group instance.
|
|
*/
|
|
|
|
?>
|
|
<div class="advads-usage">
|
|
<strong><?php esc_html_e( 'shortcode', 'advanced-ads' ); ?></strong>
|
|
<code><input type="text" onclick="this.select();" value='[the_ad_group id="<?php echo esc_attr( $group->get_id() ); ?>"]' readonly /></code>
|
|
<br/><br/>
|
|
<strong><?php esc_html_e( 'template (PHP)', 'advanced-ads' ); ?></strong>
|
|
<code><input type="text" onclick="this.select();" value="the_ad_group(<?php echo esc_attr( $group->get_id() ); ?>);" readonly /></code>
|
|
</div>
|