- 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>
19 lines
898 B
PHP
Executable File
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>
|