Save a Code Snippet

Save a New Code Snippet

  1. Login in to your MainWP Dashboard
  2. Go to the MainWP > Extensions > Code Snippets > Execute Snippet pageMainWP Code Snippets > Snippet Options
  3. Enter a Snippet Title
  4. Enter a Snippet Description (optional)
  5. Select the snippet type
  6. Select Child Sites where you plan to execute the snippet
  7. Add your Code Snippet in the code editorMainWP Code Snippets > Code Editor
  8. Click the Save Snippet button

Edit a Saved Code Snippet

  1. Login in to your MainWP Dashboard
  2. Go to the MainWP > Extensions > Code Snippets > Saved Snippets page
  3. Locate the Code Snippet that you want to edit
  4. Click the Load button MainWP Code Snippets > Load Snippet
  5. Once the Code Snippet loads, edit wanted details
  6. Click the Save Snippet button


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.