Title: PHP Code
Last modified: August 21, 2016

---

# PHP Code

 *  Anonymous User 9269003
 * (@anonymized-9269003)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-code-21/)
 * What is the PHP code to lock the content directly from PHP file?
 * [http://wordpress.org/plugins/social-locker/](http://wordpress.org/plugins/social-locker/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [OnePress](https://wordpress.org/support/users/onepressmedia/)
 * (@onepressmedia)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-code-21/#post-4128619)
 * Hi,
 * Thank you for your interest in the plugin.
 * Please look at the article:
    [http://support.onepress-media.com/how-to-invoke-social-locker-outside-of-post-content-directly-via-php/](http://support.onepress-media.com/how-to-invoke-social-locker-outside-of-post-content-directly-via-php/)
 * Paul

Viewing 1 replies (of 1 total)

The topic ‘PHP Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/social-locker_ffffff.svg)
 * [OnePress Social Locker](https://wordpress.org/plugins/social-locker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-locker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-locker/)
 * [Active Topics](https://wordpress.org/support/plugin/social-locker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-locker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-locker/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [OnePress](https://wordpress.org/support/users/onepressmedia/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/php-code-21/#post-4128619)
 * Status: not resolved