URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       unholyraids
  HTML https://raidsunholy.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: General Discussion
       *****************************************************
       #Post#: 4--------------------------------------------------
       If for some reason you want to
       By: Khatija Khatun Date: August 29, 2023, 5:13 am
       ---------------------------------------------------------
       Save snippet for preventing authors to delete a post This code
       changes the author user role and removes their capability to
       delete their own posts. This is how the Posts page in the
       WordPress dashboard will look for authors Preventing authors
       from deleting their posts Revert Permissions with WPCode
       provide authors with the capability to delete their own posts
       again then you can also do that with WPCode. First youll need to
       visit the Code Snippets page from the WordPress dashboard and
       toggle the switch next to the code snippet you created to
       Inactive.
       Deactivate code snippet However simply deactivating the code
       will not make any changes. You Buy Email Database
  HTML https://dbtodata.com/email-data
       will now need to add a new code
       snippet on your website. To do this visit the Code Snippets
       Add Snippet page from the WordPress dashboard and click the Use
       Snippet button for the Add Your Custom Code New Snippet option.
       Add new snippet You will now be taken to the Create Custom
       Snippet page where you have to type a name for the snippet.
       [img]
  HTML https://scontent.fdac5-2.fna.fbcdn.net/v/t39.30808-6/372902536_620122670243961_7597270003958491077_n.jpg?_nc_cat=102&ccb=1-7&_nc_sid=730e14&_nc_ohc=nEEzq8o10xYAX8y7lpS&_nc_ht=scontent.fdac5-2.fna&oh=00_AfCMaMx-OAMrTlOVO_3LvQj0di_BnytVCIYpoRfVEGnYXg&oe=64F38799[/img]
  HTML https://dbtodata.com/email-data
       Next choose the PHP Snippet as the code type and then copy and
       paste the following code into the Code Preview box function
       wpbchangeauthorrole global wproles wprolesaddcap author
       deleteposts  wprolesaddcap author deletepublishedposts
       addactioninit wpbchangeauthorrole Hosted with  by WPCode click
       Use in WordPress Snippet for allowing authors to delete posts
       After that scroll down to the Insertion section and choose the
       Auto Insert mode. The code will automatically add the deletion
       capabilities for authors upon activation.
       *****************************************************