Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upContact Info Widget: add 2 hooks to add data to the widget. #3397
Conversation
jeherve
added this to the 3.9.2 milestone
Feb 10, 2016
eliorivero
reviewed
Feb 10, 2016
modules/widgets/contact-info.php
Outdated
* | ||
* @since 3.9.2 | ||
*/ | ||
do_action( 'jetpack_contact_info_widget_beginning' ); |
This comment has been minimized.
This comment has been minimized.
eliorivero
Feb 10, 2016
Contributor
Maybe this could be named _start
instead? Writing beginning
is prone to errors for non-english devs and there are a couple of actions in core that end in _start
so it's more consistent.
This comment has been minimized.
This comment has been minimized.
jeherve
and others
added some commits
Feb 10, 2016
eliorivero
added
[Status] Ready to Merge
and removed
[Status] Needs Review
labels
Feb 10, 2016
This comment has been minimized.
This comment has been minimized.
Added |
This comment has been minimized.
This comment has been minimized.
|
added a commit
that referenced
this pull request
Feb 11, 2016
zinigor
merged commit 6ee1165
into
master
Feb 11, 2016
zinigor
removed
the
[Status] Ready to Merge
label
Feb 11, 2016
kraftbj
deleted the
add/actions-contact-info-widget
branch
Apr 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
jeherve commentedFeb 10, 2016
Once the hooks are added, a site owner could add data to the form like so:
Suggested here:
https://wordpress.org/support/topic/add-an-email-link-to-contact-info-jetpack-hours-info-widget?replies=1&view=all