Support » Plugin: WP-Members Membership Plugin » [Plugin: WP-Members] Insert Block custom field after X days

  • Resolved dannyfoo

    (@dannyfoo)


    My goal is to restrict content viewing after X days – login required after that. I’m wondering if anyone has successfully written a function to insert the custom field block=1 to a post after X days.

    Please do share it here. Thanks. 🙂

    http://wordpress.org/extend/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • montrealist

    (@spectrus)

    Interesting issue, although I’m guessing it’s too custom to found anywhere, and that you would need to write it yourself. Have you looked into WP’s cron functions?

    Plugin Author Chad Butler

    (@cbutlerjr)

    That is a unique situation, but the suggestion of a cron function might be the way to go. I think you could probably pull off something like that without having to make any customization to the plugin itself (something you want to avoid to remain upgradeable).

    dannyfoo

    (@dannyfoo)

    The Cron job was also the option suggested by a friend of mine. Hmm, guess I’ll have to get down and dirty with that.

    Thanks for the feedback. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Members] Insert Block custom field after X days’ is closed to new replies.