wpsharks / comment-mail-kb

The Comment Mail™ and Comment Mail™ Pro Knowledge Base
http://comment-mail.com
0 stars 1 forks source link

Comment Form Hook Instructions #9

Open jaswrks opened 9 years ago

jaswrks commented 9 years ago

KB Article Creation Checklist

Additional TODO list items go here.

title: Comment Form Hook Instructions
categories: tutorials
tags: comment-form, wordpress-hooks
author: jaswsinc
github-issue: 

[to be written, see: https://github.com/websharks/comment-mail.com/issues/12]

2015-06-09_13-47-35

raamdev commented 8 years ago

@jaswsinc Could you point to some code or write a note about how this would work?

raamdev commented 8 years ago

Support thread asking about this here: https://wordpress.org/support/topic/how-to-install-form-field-manually?replies=1#post-8121416

raamdev commented 8 years ago

It looks like we can call comment_mail::sub_ops(); to display the subscription form via the API (which loads up maybe_display_sub_ops()), as long as we've also disabled automatic insertion of the subscription options:

2016-03-09_08-59-03

jaswrks commented 8 years ago

It looks like we can call comment_mail::sub_ops(); to display the subscription form via the API (which loads up maybe_display_sub_ops()), as long as we've also disabled automatic insertion of the subscription options:

That's it, yes. Sorry for the delayed response.

mundschenk-at commented 7 years ago

Any news on the documentation front? I'd like to go the "deep theme integration" route to get proper translations etc., but there is no documentation on the plugin's website at all :(

raamdev commented 7 years ago

Just noting that this should be comment_mail::subOps(); as of v160618. I'm adding this GitHub issue to the 2017Q2 milestone so that we can get this article published soon.