Determine whether "Customise this page" is on or not

Determine whether "Customise this page" is on or not

by John Lu -
Number of replies: 1

There is a button "Customise this page" on the dashboard. How do I determine, in code, whether or not it's been turned on?


I want to show something only when they are customising the page, is there something like

  • if(is_customising()){
  •   echo 'is customising';
  • else{
  • echo 'Not customising';
  • }
Average of ratings: -
In reply to John Lu

Re: Determine whether "Customise this page" is on or not

by RTR Admin -

To do this, you would have to edit the php page that displays when editing is turned on. It can be done, you just need to find the page, and edit the HTML. It seems as if you now a bit about coding.