Title: Sample code?
Last modified: November 24, 2019

---

# Sample code?

 *  [LesTexas60](https://wordpress.org/support/users/lestexas60/)
 * (@lestexas60)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/sample-code-2/)
 * This looks like a great plugin but when testing it, my site got locked down. 
   I renamed the Start file to Stop and got it back. Can anyone provide some simple
   test code to try this plugin. I got code from a video but that;s what crashed
   the site.
    function remove_screen_options(){ return false; add_filter(screen_options_show_screen,
   remove_screen_options);
 * The above is suppose to turn off the screen options tab. Is there a problem with
   the code or should I try another test?
    Thank you
 * My Goal is to be able to set a query statement to a category that I pass to the
   page using a URL.

Viewing 1 replies (of 1 total)

 *  Thread Starter [LesTexas60](https://wordpress.org/support/users/lestexas60/)
 * (@lestexas60)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/sample-code-2/#post-12178550)
 * Solved.

Viewing 1 replies (of 1 total)

The topic ‘Sample code?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-custom-functions_0e1030.svg)
 * [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-custom-functions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-custom-functions/)
 * [Active Topics](https://wordpress.org/support/plugin/my-custom-functions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-custom-functions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-custom-functions/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [LesTexas60](https://wordpress.org/support/users/lestexas60/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/sample-code-2/#post-12178550)
 * Status: not resolved