HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/advanced-ads-pro/modules/ad-server/views/placement-settings.php
<?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>