MCPcopy Create free account

hub / github.com/Automattic/o2 / functions

Functions488 in github.com/Automattic/o2

Method__construct
()
inc/tags.php:18
Method__construct
()
inc/keyboard.php:3
Function_manually_load_plugin
()
tests/phpunit/bootstrap.php:10
Method_sortByLength
( $a, $b )
inc/tags.php:255
Methodadd_json_data
* Embed JSONified post+comment data into each thread (post) for backbone consumption */
o2.php:894
Methodadd_post_action
* Add a link for changing the post sticky to the o2 post actions * * @param array The current o2 post actions * @return array The filtered o2 po
modules/sticky-posts/load.php:96
Methodadd_post_action
* Add a link for changing the post resolution to the o2 post actions * * @param array The current o2 post actions * @return array The filtered o
modules/to-do/load.php:365
Methodadd_stop_following
* If the current user isn't following all the comments on the blog, add hoverText that * prompts them that they can unfollow comments on a post they
modules/post-actions/load.php:219
Methodadd_trashed_parents
* When un-trashing a comment, traverse through this comment's parents and * add o2_comment_has_children flag where needed. * * @param $comment_I
o2.php:1268
Methodadmin_enqueue_scripts
( $hook )
o2.php:1023
Methodafter_post_actions
( $html )
modules/post-actions/load.php:55
Methodafter_post_likes
( $content )
modules/post-actions/load.php:110
Methodajax_get_o2_userdata
()
o2.php:1330
Methodappend_old_tags
* Appends the tags of old posts to the end of the post * * @uses global $post, so must be run from inside the loop * * @param string $content
inc/tags.php:45
Methodappend_old_tags_to_fragment
* Appends the tags of old posts to the end of the post, for o2 fragments * * @param string $fragment The fragment * @return string The fragment
inc/tags.php:119
Methodattachment_redirect
* Redirect to attachments. Rather than trying to render them somehow, * if someone links to an "attachment page", just intercept that and send * t
o2.php:991
Methodbefore_post_actions
( $html )
modules/post-actions/load.php:49
Methodbefore_post_likes
( $content )
modules/post-actions/load.php:78
Methodbody_class
* Adds an 'o2' class to the body. */
o2.php:531
Methodcallback
* Main AJAX callback * * @param object The post fragment object */
modules/sticky-posts/load.php:120
Methodcallback
* Main AJAX callback * * Determine if a post's next state is valid, set it, and return the audit log fragment as success, or * an error message
modules/to-do/load.php:520
FunctionclearPlaceholder
( event, value )
js/utils/jquery.placeholder.js:100
Methodcomment_fail
* Handle a variety of hard comment posting failures. See ::init_comment() for the list * of actions that trigger this. */
inc/write-api.php:299
Methodcomment_fail
* Handle a variety of hard comment posting failures. See ::init_comment() for the list * of actions that trigger this. */
inc/nopriv-write-api.php:69
Methodcomment_success
* Called from the end of the core commenting process. If we get here * then the comment was posted successfully, so just output it and die. */
inc/write-api.php:401
Methodcomment_success
* Called from the end of the core commenting process. If we get here * then the comment was posted successfully, so just output it and die. */
inc/nopriv-write-api.php:111
Methodcustomize_register
* Set up options for Customizer */
o2.php:644
Methoddelete_comment_override
* Create a new comment with message "This comment has been permanently deleted." * and put it in place of deleted comment. * * @param $comment_I
o2.php:1201
Methoddo_comment_time_shortcode
* Process the time shortcode and only the time shortcode in comments * * @param string $comment_text - The comment content * @return string Modi
modules/time-shortcode/load.php:104
Methodembed_templates
* Pass templates up for backbone to use when rendering * @todo only do this on pages where we are going to use them * @todo put these in a separat
inc/templates.php:34
Methodenqueue_scripts
()
modules/notifications/load.php:24
Methodenqueue_scripts
()
modules/post-actions/load.php:43
Methodenqueue_scripts
()
modules/sticky-posts/load.php:27
Methodenqueue_scripts
()
modules/recent-comments/load.php:26
Methodenqueue_scripts
()
modules/checklists/load.php:48
Methodenqueue_scripts
()
modules/to-do/load.php:62
Methodenqueue_scripts
()
modules/to-do/inc/class-to-do-widget.php:33
Methodenqueue_scripts
()
modules/offline/load.php:10
Methodenqueue_scripts
()
modules/suggestions/load.php:19
Methodenqueue_scripts
()
modules/follow/load.php:18
Methodenqueue_style
()
modules/notifications/load.php:36
Methodenqueue_style
()
modules/sticky-posts/load.php:34
Methodenqueue_style
()
modules/checklists/load.php:56
Methodenqueue_style
()
modules/to-do/load.php:69
Methodenqueue_style
()
modules/follow/load.php:24
Methodenqueue_styles
()
modules/post-actions/load.php:37
Functionextend
(protoProps, classProps)
js/utils/cocktail.js:59
Methodfetch
* Get resolved post fragments and return them via AJAX */
modules/to-do/inc/class-to-do-widget.php:327
Methodfilter_comment_actions
( $actions, $location, $comment, $comment_depth )
modules/post-actions/load.php:163
Methodfilter_options
( $options )
modules/checklists/load.php:179
Methodfilter_post_action_html
( $html, $action )
modules/post-actions/load.php:60
Methodfilter_resolved_posts_audit_log_entry
( $log_entry, $args )
modules/post-actions/load.php:148
Methodfilter_sort
( $filter_1, $filter_2 )
modules/filter-widget/load.php:73
Methodfilter_widget_filters
( $filters )
modules/to-do/load.php:276
Methodfilter_xcomment_permalink
Filter xcomment permalinks to point immediately at the originating comment (and not rely on redirect_permalink, since we can't see the comment fragmen
inc/xposts.php:593
Methodfilter_xposts
( $xposts )
inc/xposts.php:270
Methodfirst_load
* This is really only needed for the first load of o2 after activation. * Useful for flushing rewrite rules, and that kind of thing. */
o2.php:1397
Methodform
($instance)
modules/filter-widget/load.php:171
Methodform
($instance)
modules/live-comments/load.php:104
Methodform
* Form for the widget settings */
modules/to-do/inc/class-to-do-widget.php:47
FunctiongenChar
(c)
js/utils/uuid4.js:11
Methodget_adjacent_post_where
* Used in get_fragment_from_posts, avoids us picking up password protected posts * in prev / next post navigation */
inc/fragment.php:29
Methodget_adjacent_post_where
Until WP 3.8 is widespread, this is a quick, easy, nasty way of avoiding xposts in navigation. See http://core.trac.wordpress.org/ticket/17807#comment
inc/xposts.php:123
Methodget_last_state_slug
* Get the last state object in the carousel * * @return object The last state object */
modules/to-do/load.php:104
Methodget_options
* Add notification strings to the o2 options array */
modules/notifications/load.php:98
Methodget_options
* Add sticky states to the o2 options array */
modules/sticky-posts/load.php:43
Methodget_options
( $options )
modules/offline/load.php:14
Methodget_options
* Add follow strings and options to the o2 options array */
modules/follow/load.php:33
Methodget_post_fragment
* Add sticky meta for each post to the o2 post fragment */
modules/sticky-posts/load.php:58
Methodget_post_fragment
* Add state and audit logs for each post to the o2 post fragment */
modules/to-do/load.php:260
Methodget_templates
* Add the dock and flash templates to the o2 templates */
modules/notifications/load.php:45
Methodget_templates
* Add the audit log template to the o2 templates */
modules/to-do/load.php:309
Methodget_templates
* Add the templates to the o2 templates filter * * If you have more than a few templates, use the o2_Fragment class as a pattern for loading exter
modules/to-do/inc/class-to-do-widget.php:171
Methodhas_active_widgets
()
inc/widget-helper.php:57
Methodhelp_link
( $controls )
inc/keyboard.php:14
Methodhelp_text
()
inc/keyboard.php:19
Methodhome_url
* Filter the home_url() for permalinks generated during AJAX calls. * When is_admin() is true, permalinks will not reflect the protocol * of the a
inc/fragment.php:725
Methodinfinite_scroll_ajax_url
( $ajax_url )
modules/recent-comments/load.php:65
Methodinfinite_scroll_ajax_url
* Make this compatible with Infinite Scroll, which we use for loading pages * @props tmoorewp */
modules/to-do/load.php:144
Methodinfinite_scroll_ajax_url
( $ajax_url )
modules/unreplied-posts/load.php:64
Methodinfinite_scroll_allowed_vars
( $vars )
modules/unreplied-posts/load.php:56
Methodinfinite_scroll_query_args
( $query_args )
modules/recent-comments/load.php:72
Methodinfinite_scroll_query_args
( $query_args )
modules/to-do/load.php:155
Methodinfinite_scroll_query_args
( $query_args )
modules/unreplied-posts/load.php:45
Methodinfinite_scroll_render
* Return only o2 containers with Infinite Scroll queries */
o2.php:502
Methodinit
()
modules/post-actions/load.php:8
Methodinit
()
modules/performance/inc/class-o2-basic-timers.php:8
Methodinit
()
modules/performance/inc/class-o2-performance-monitor.php:8
Methodinit
()
inc/write-api.php:4
Methodinit
()
inc/nopriv-write-api.php:4
Methodinline_js
* Makes the sites available as a global JSON encoded array so we can use it with the autocomplete scripts. */
inc/xposts.php:282
Methodinsert_comment_actions
* Add a timestamp named o2_comment_created so we can maintain * when the comment was created even if comment is later modified. * * @param $comm
o2.php:1244
Methodis_mentions_me_filter_active
()
modules/filter-widget/load.php:88
Methodis_my_posts_filter_active
()
modules/filter-widget/load.php:94
Methodis_no_replies_filter_active
()
modules/filter-widget/load.php:84
Methodis_recent_comments_filter_active
()
modules/filter-widget/load.php:80
Methodis_resolved_filter_active
()
modules/to-do/load.php:298
Methodis_unresolved_filter_active
()
modules/to-do/load.php:302
FunctionkeyHandler
( handleObj )
js/utils/jquery.hotkeys.js:40
Methodlive_item_templates
()
modules/live-comments/load.php:19
← previousnext →201–300 of 488, ranked by callers