Files
roi-theme/wp-content/plugins/advanced-ads-pro/modules/ad-server/views/placement-settings.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

19 lines
898 B
PHP
Executable File

<?php //phpcs:ignoreFile
/**
* Show placement related options
*
* @var string $public_slug URL where the ad placement can be accessed directly.
*/
?>
<input type="text" id="advanced-ads-pro-placement-server-slug" name="advads[placements][options][ad-server-slug]" value="<?php echo esc_attr( $public_slug ); ?>" />
<p id="advanced-ads-pro-placement-server-slug-update-message" class="advads-notice-inline advads-error hidden"><?php esc_html_e( 'Save the page to update the usage code below.', 'advanced-ads-pro' ); ?></p>
<p class="description"><?php esc_html_e( 'The name of the placement that appears in the URL and injection code.', 'advanced-ads-pro' ); ?></p>
<script>
jQuery( document ).ready( function() {
jQuery( '#advanced-ads-pro-placement-server-slug' ).on( 'change', function(){
jQuery( '#advanced-ads-pro-placement-server-slug-update-message' ).show();
});
});
</script>