Title: PHP code showing in wordpress Backend
Last modified: March 2, 2026

---

# PHP code showing in wordpress Backend

 *  [lowellb](https://wordpress.org/support/users/lowellb/)
 * (@lowellb)
 * [3 months ago](https://wordpress.org/support/topic/php-code-showing-in-wordpress-backend/)
 * Hi,
 * I have the plugin installed on my site and am currently seeing some PHP code 
   which only shows in the backend.
   I have updated the plugin and wordpressIf I 
   deactive this code disappears.I have cleared cacheI have tried fully deleting
   the plugin and reinstalling. Code still shows.Please advise what can be done 
   to prevent this from showing. Thank you!Here is the PHP that I see:function delayReviewPrompt(
   event, type, triggerClick = true, openLink = false) { event.preventDefault();
   if ( triggerClick ) { jQuery(‘#prli_review_notice’).fadeOut(); } if ( openLink){
   var href = event.target.href; window.open(href, ‘_blank’); } jQuery.ajax({ url:
   ajaxurl, type: ‘POST’, data: { action: ‘pl\_dismiss\_review\_prompt’, nonce: “
   53d328341a”, type: type }, }) .done(function(data) { }); } jQuery(document).ready(
   function($) { $(‘.prli-review-selection’).click(function(event) { event.preventDefault();
   var $this = $(this); var selection = $this.data(‘review-selection’); $(‘#prli\
   _review\_intro’).hide(); $(‘#prli\_review_‘ + selection).show(); }); $(‘body’).
   on(‘click’, ‘#prli_review_notice .notice-dismiss’, function(event) { delayReviewPrompt(
   event, ‘delay’, false); }); });

Viewing 1 replies (of 1 total)

 *  Plugin Support [oiler](https://wordpress.org/support/users/eulerarthur/)
 * (@eulerarthur)
 * [3 months ago](https://wordpress.org/support/topic/php-code-showing-in-wordpress-backend/#post-18838633)
 * Hey there,
 * Thanks for your contact and welcome to our support!
 * We might be facing an interaction issue with a third-party functionality, in 
   this case:
    - **Make sure to have a complete backup before proceeding, and if possible test
      it in a staging version, not in the live production website**
    - Deactivate all the plugins that are not related to Pretty Links
    - Switch for a moment to a WordPress default theme like Twenty Twenty-one
    - If the issue is gone, activate one by one to see with which one there is an
      interaction issue
 * Could you please tell me the results of this investigation? Moreover, can you
   please enable the debug mode? Just add the following code in your wp-config.php
   file:
 *     ```wp-block-code
       // Enable WP_DEBUG modedefine( 'WP_DEBUG', true );// Enable Debug logging to the /wp-content/debug.log filedefine( 'WP_DEBUG_LOG', true );// Disable display of errors and warningsdefine( 'WP_DEBUG_DISPLAY', false );@ini_set( 'display_errors', 0 );// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)define( 'SCRIPT_DEBUG', true );
       ```
   
 * Please check the following links to read more about debugging with WordPress.
    - [https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/)
    - [https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/#example-wp-config-php-for-debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/#example-wp-config-php-for-debugging)
 * After adding the code above, try to reproduce the issue again and check if you’ll
   find a debug.log file inside the wp-content folder. If you locate it there, kindly
   send us the last lines here in the ticket.
 * I’m looking forward to your reply. Thank you!
 * Best regards,

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-code-showing-in-wordpress-backend%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/pretty-link/assets/icon-256x256.png?rev=2503434)
 * [PrettyLinks - Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin](https://wordpress.org/plugins/pretty-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pretty-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pretty-link/)
 * [Active Topics](https://wordpress.org/support/plugin/pretty-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pretty-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pretty-link/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [oiler](https://wordpress.org/support/users/eulerarthur/)
 * Last activity: [3 months ago](https://wordpress.org/support/topic/php-code-showing-in-wordpress-backend/#post-18838633)
 * Status: not resolved