MCPcopy Create free account

hub / github.com/Automattic/o2 / functions

Functions488 in github.com/Automattic/o2

FunctionmakeDate
(y, m, d, h, M, s, ms)
js/utils/moment.js:1368
Methodmark_new_as_unresolved
* Automatically mark new posts as unresolved */
modules/to-do/load.php:188
Methodmaybe_set_comment_has_children
* Add has_children flag to deleted comments so that we can query for only trashed comments * that have children in o2_Fragent:get_fragment_from_post
o2.php:1322
Functiono2_blockquote_text
Psuedo-Markdown: blockquote by starting a line with "> ", posts or comments
inc/text-helpers.php:4
Methodo2_comments_clauses
Apply our 'since' parameter
inc/read-api.php:376
Methodo2_date_sort
Need to sort things because they're queried separately
inc/read-api.php:51
Methodo2_filter_posts_where
Apply our 'since' parameter
inc/read-api.php:266
Functiono2_filter_widget_init
()
modules/filter-widget/load.php:186
Functiono2_follow
()
modules/follow/load.php:59
Functiono2_get_default_post_actions
( $actions = false, $post_ID = false )
inc/template-tags.php:128
Functiono2_live_comments_widget_footer_bootstrap
()
modules/live-comments/load.php:156
Functiono2_live_comments_widget_widgets_init
()
modules/live-comments/load.php:151
Methodo2_make_clickable
( $content )
inc/fragment.php:733
Functiono2_notifications
()
modules/notifications/load.php:108
Functiono2_plugin_activation_hook
* Plugin activation */
o2.php:1417
Functiono2_post_action_states_in_footer
()
inc/template-tags.php:99
Functiono2_post_actions_scripts
()
inc/template-tags.php:116
Functiono2_register_default_post_action_states
()
inc/template-tags.php:22
Methodo2_sanitized_query_vars
( $vars )
modules/recent-comments/load.php:35
Methodo2_sanitized_query_vars
( $vars )
modules/unreplied-posts/load.php:20
Functiono2_sticky_posts
()
modules/sticky-posts/load.php:146
Functiono2_todos
()
modules/to-do/load.php:583
Methodo2_update_post
* Take note of the ID being updated by O2 * * @param WP_Post $post */
inc/tags.php:338
Methodo2_writeapi_post_updated
* O2 has finished updating the post * * @param int $post_id */
inc/tags.php:347
Methodo2rpx_dont_mark_xposts
xposts should not participate in resolved/unresolved state */
inc/xposts.php:602
Methodon_activating_o2_compatible_theme
* If an o2 compatible theme has just been activated, set some defaults * If it has no widgets set up in any of its widget areas, add some */
o2.php:1035
Methodon_ajax
()
modules/checklists/load.php:339
Functiononchange
( e )
js/utils/page-visibility.js:29
Methodpage_title
( $page_title )
modules/recent-comments/load.php:83
Methodpage_title
( $page_title )
modules/to-do/load.php:554
Methodpage_title
( $page_title )
modules/unreplied-posts/load.php:71
Methodparse_lists_in_comment
( $content, $comment = null )
modules/checklists/load.php:69
Methodparse_lists_in_post
( $content )
modules/checklists/load.php:62
Methodpoll
()
inc/read-api.php:44
Methodpolling_sanitized_query_vars
* Make this compatible with polling */
modules/to-do/load.php:173
Methodpost_class
* Add an author class to posts. */
o2.php:539
Methodpost_flair
()
tests/phpunit/test-o2-base.php:34
Methodposts_clauses
( $clauses, $wp_query )
modules/recent-comments/load.php:42
Methodposts_where
( $where )
modules/unreplied-posts/load.php:25
Methodpre_get_posts
( $query )
modules/recent-comments/load.php:59
Methodpre_get_posts
( $query )
modules/unreplied-posts/load.php:36
Methodpreserve_text_callback
( $matches )
modules/checklists/load.php:209
Methodpreview
* Generates a preview version of a post or comment being created/edited */
inc/read-api.php:461
Methodprocess_tags
* Fires when the post is published or edited * * @param boolean $new Status being switched to * @param boolean $old Status being switched from
inc/tags.php:366
Methodprocess_xcomment_transition
* Fires when the comment is approved or edited. * * @uses ::process_xcomment() * * @param boolean $new * @param boolean $old * @param obje
inc/xposts.php:375
Methodprocess_xpost
* Fires when the post is published or edited * * @uses get_post_meta and update_post_meta to track if the P2 has already been site-pinged * and
inc/xposts.php:333
Methodredirect_permalink
* X-posts permalinks pages are useless, let's redirect them to the original post * * @uses get_post_meta, wp_redirect * @return void */
inc/xposts.php:578
Methodregister_plugin_scripts
()
o2.php:183
Methodregister_post_action_states
* */
modules/sticky-posts/load.php:69
Methodregister_post_action_states
* Register our post action */
modules/to-do/load.php:327
Methodregister_query_var
()
modules/recent-comments/load.php:30
Methodregister_query_var
()
modules/unreplied-posts/load.php:15
Methodregister_scripts
()
modules/performance/inc/class-o2-basic-timers.php:13
Methodregister_scripts
()
modules/performance/inc/class-o2-performance-monitor.php:14
Methodregister_scripts
()
inc/editor.php:9
Methodregister_scripts
()
inc/keyboard.php:9
Methodregister_taxonomy
* Register the resolution taxonomy */
modules/to-do/load.php:207
Methodregister_taxonomy
* Register o2 mentions taxonomy. */
inc/xposts.php:212
Methodregister_widget_scripts
()
modules/filter-widget/load.php:99
Methodregister_widget_scripts
()
modules/live-comments/load.php:58
Methodregister_widget_styles
()
modules/filter-widget/load.php:104
Methodregister_widget_styles
()
modules/live-comments/load.php:68
Methodremove_cached_incompatible_oembed
* Remove cached incompatible oembed results that a previous theme * may have saved */
o2.php:938
Methodremove_oembed_handlers
* Remove oembed handlers that are incompatible with o2 */
o2.php:929
Methodremove_trashed_parents
* If this comment has no approved siblings, then go ahead and delete its parent as well. * * @param $comment_ID * @param bool|object $comment
o2.php:1286
FunctionreplaceLongDateFormatTokens
(input)
js/utils/moment.js:884
Methodrequest
* Parse the request if it's a request for our unresolved posts */
modules/to-do/load.php:488
Functionresize
()
js/editor/jquery.autoresize.js:213
Methodrestore_text_callback
( $matches )
modules/checklists/load.php:331
Methodrestrict_comment_editing
http://scribu.net/wordpress/prevent-blog-authors-from-editing-comments.html Allows all users to edit their own comments, and Editors and above to edit
inc/write-api.php:305
Methodscripts_and_styles
* Get the list of scripts and styles already on the page */
o2.php:477
Methodsearch_comments_distinct
( $distinct )
inc/search.php:18
Methodsearch_comments_join
( $join )
inc/search.php:52
Methodsearch_comments_where
( $where )
inc/search.php:24
FunctionsetPlaceholder
()
js/utils/jquery.placeholder.js:119
Methodshould_load_ui
( $load )
modules/suggestions/load.php:9
Methodshow_front_side_post_box_with_results
* Enable the front side posting box to appropriate users when the resolved query is included */
modules/to-do/load.php:574
FunctionsubstituteTimeAgo
(string, number, withoutSuffix, isFuture, lang)
js/utils/moment.js:1409
Methodtag_links
* Parses and links tags within a string. * Run on the_content and comment_text. * * @param string $content The content. * @return string The l
inc/tags.php:131
Methodtag_search
()
inc/tags.php:399
Methodtest_add_json_data
()
tests/phpunit/test-o2-base.php:332
Methodtest_add_query_var
()
tests/phpunit/test-o2-base.php:319
Methodtest_add_to_user_bootstrap
()
tests/phpunit/test-fragment.php:346
Methodtest_add_trashed_parents
()
tests/phpunit/test-o2-base.php:508
Methodtest_body_class
()
tests/phpunit/test-o2-base.php:146
Methodtest_comment_shortcode_processed
()
tests/phpunit/modules/test-time-shortcode.php:210
Methodtest_default_constructor
()
tests/phpunit/test-terms-in-comments.php:33
Methodtest_delete_comment_override
()
tests/phpunit/test-o2-base.php:375
Methodtest_delete_comment_override_no_children
()
tests/phpunit/test-o2-base.php:417
Methodtest_disable_highlander
()
tests/phpunit/test-o2-base.php:15
Methodtest_explicit_constructor
()
tests/phpunit/test-terms-in-comments.php:17
Methodtest_get_app_controls
()
tests/phpunit/test-o2-base.php:61
Methodtest_get_app_controls_filter
()
tests/phpunit/test-o2-base.php:73
Methodtest_get_application_container
()
tests/phpunit/test-o2-base.php:90
Methodtest_get_application_container_filter
()
tests/phpunit/test-o2-base.php:107
Methodtest_get_comment_author_properties_nopriv
()
tests/phpunit/test-fragment.php:421
Methodtest_get_comment_author_properties_user
()
tests/phpunit/test-fragment.php:401
Methodtest_get_comment_meta_by_post_id
()
tests/phpunit/test-terms-in-comments.php:142
Methodtest_get_comment_meta_default
()
tests/phpunit/test-terms-in-comments.php:114
Methodtest_get_comment_meta_offset
()
tests/phpunit/test-terms-in-comments.php:213
← previousnext →301–400 of 488, ranked by callers