Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Automattic/o2
/ functions
Functions
488 in github.com/Automattic/o2
⨍
Functions
488
◇
Types & classes
37
Function
makeDate
(y, m, d, h, M, s, ms)
js/utils/moment.js:1368
Method
mark_new_as_unresolved
* Automatically mark new posts as unresolved */
modules/to-do/load.php:188
Method
maybe_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
Function
o2_blockquote_text
Psuedo-Markdown: blockquote by starting a line with "> ", posts or comments
inc/text-helpers.php:4
Method
o2_comments_clauses
Apply our 'since' parameter
inc/read-api.php:376
Method
o2_date_sort
Need to sort things because they're queried separately
inc/read-api.php:51
Method
o2_filter_posts_where
Apply our 'since' parameter
inc/read-api.php:266
Function
o2_filter_widget_init
()
modules/filter-widget/load.php:186
Function
o2_follow
()
modules/follow/load.php:59
Function
o2_get_default_post_actions
( $actions = false, $post_ID = false )
inc/template-tags.php:128
Function
o2_live_comments_widget_footer_bootstrap
()
modules/live-comments/load.php:156
Function
o2_live_comments_widget_widgets_init
()
modules/live-comments/load.php:151
Method
o2_make_clickable
( $content )
inc/fragment.php:733
Function
o2_notifications
()
modules/notifications/load.php:108
Function
o2_plugin_activation_hook
* Plugin activation */
o2.php:1417
Function
o2_post_action_states_in_footer
()
inc/template-tags.php:99
Function
o2_post_actions_scripts
()
inc/template-tags.php:116
Function
o2_register_default_post_action_states
()
inc/template-tags.php:22
Method
o2_sanitized_query_vars
( $vars )
modules/recent-comments/load.php:35
Method
o2_sanitized_query_vars
( $vars )
modules/unreplied-posts/load.php:20
Function
o2_sticky_posts
()
modules/sticky-posts/load.php:146
Function
o2_todos
()
modules/to-do/load.php:583
Method
o2_update_post
* Take note of the ID being updated by O2 * * @param WP_Post $post */
inc/tags.php:338
Method
o2_writeapi_post_updated
* O2 has finished updating the post * * @param int $post_id */
inc/tags.php:347
Method
o2rpx_dont_mark_xposts
xposts should not participate in resolved/unresolved state */
inc/xposts.php:602
Method
on_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
Method
on_ajax
()
modules/checklists/load.php:339
Function
onchange
( e )
js/utils/page-visibility.js:29
Method
page_title
( $page_title )
modules/recent-comments/load.php:83
Method
page_title
( $page_title )
modules/to-do/load.php:554
Method
page_title
( $page_title )
modules/unreplied-posts/load.php:71
Method
parse_lists_in_comment
( $content, $comment = null )
modules/checklists/load.php:69
Method
parse_lists_in_post
( $content )
modules/checklists/load.php:62
Method
poll
()
inc/read-api.php:44
Method
polling_sanitized_query_vars
* Make this compatible with polling */
modules/to-do/load.php:173
Method
post_class
* Add an author class to posts. */
o2.php:539
Method
post_flair
()
tests/phpunit/test-o2-base.php:34
Method
posts_clauses
( $clauses, $wp_query )
modules/recent-comments/load.php:42
Method
posts_where
( $where )
modules/unreplied-posts/load.php:25
Method
pre_get_posts
( $query )
modules/recent-comments/load.php:59
Method
pre_get_posts
( $query )
modules/unreplied-posts/load.php:36
Method
preserve_text_callback
( $matches )
modules/checklists/load.php:209
Method
preview
* Generates a preview version of a post or comment being created/edited */
inc/read-api.php:461
Method
process_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
Method
process_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
Method
process_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
Method
redirect_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
Method
register_plugin_scripts
()
o2.php:183
Method
register_post_action_states
* */
modules/sticky-posts/load.php:69
Method
register_post_action_states
* Register our post action */
modules/to-do/load.php:327
Method
register_query_var
()
modules/recent-comments/load.php:30
Method
register_query_var
()
modules/unreplied-posts/load.php:15
Method
register_scripts
()
modules/performance/inc/class-o2-basic-timers.php:13
Method
register_scripts
()
modules/performance/inc/class-o2-performance-monitor.php:14
Method
register_scripts
()
inc/editor.php:9
Method
register_scripts
()
inc/keyboard.php:9
Method
register_taxonomy
* Register the resolution taxonomy */
modules/to-do/load.php:207
Method
register_taxonomy
* Register o2 mentions taxonomy. */
inc/xposts.php:212
Method
register_widget_scripts
()
modules/filter-widget/load.php:99
Method
register_widget_scripts
()
modules/live-comments/load.php:58
Method
register_widget_styles
()
modules/filter-widget/load.php:104
Method
register_widget_styles
()
modules/live-comments/load.php:68
Method
remove_cached_incompatible_oembed
* Remove cached incompatible oembed results that a previous theme * may have saved */
o2.php:938
Method
remove_oembed_handlers
* Remove oembed handlers that are incompatible with o2 */
o2.php:929
Method
remove_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
Function
replaceLongDateFormatTokens
(input)
js/utils/moment.js:884
Method
request
* Parse the request if it's a request for our unresolved posts */
modules/to-do/load.php:488
Function
resize
()
js/editor/jquery.autoresize.js:213
Method
restore_text_callback
( $matches )
modules/checklists/load.php:331
Method
restrict_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
Method
scripts_and_styles
* Get the list of scripts and styles already on the page */
o2.php:477
Method
search_comments_distinct
( $distinct )
inc/search.php:18
Method
search_comments_join
( $join )
inc/search.php:52
Method
search_comments_where
( $where )
inc/search.php:24
Function
setPlaceholder
()
js/utils/jquery.placeholder.js:119
Method
should_load_ui
( $load )
modules/suggestions/load.php:9
Method
show_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
Function
substituteTimeAgo
(string, number, withoutSuffix, isFuture, lang)
js/utils/moment.js:1409
Method
tag_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
Method
tag_search
()
inc/tags.php:399
Method
test_add_json_data
()
tests/phpunit/test-o2-base.php:332
Method
test_add_query_var
()
tests/phpunit/test-o2-base.php:319
Method
test_add_to_user_bootstrap
()
tests/phpunit/test-fragment.php:346
Method
test_add_trashed_parents
()
tests/phpunit/test-o2-base.php:508
Method
test_body_class
()
tests/phpunit/test-o2-base.php:146
Method
test_comment_shortcode_processed
()
tests/phpunit/modules/test-time-shortcode.php:210
Method
test_default_constructor
()
tests/phpunit/test-terms-in-comments.php:33
Method
test_delete_comment_override
()
tests/phpunit/test-o2-base.php:375
Method
test_delete_comment_override_no_children
()
tests/phpunit/test-o2-base.php:417
Method
test_disable_highlander
()
tests/phpunit/test-o2-base.php:15
Method
test_explicit_constructor
()
tests/phpunit/test-terms-in-comments.php:17
Method
test_get_app_controls
()
tests/phpunit/test-o2-base.php:61
Method
test_get_app_controls_filter
()
tests/phpunit/test-o2-base.php:73
Method
test_get_application_container
()
tests/phpunit/test-o2-base.php:90
Method
test_get_application_container_filter
()
tests/phpunit/test-o2-base.php:107
Method
test_get_comment_author_properties_nopriv
()
tests/phpunit/test-fragment.php:421
Method
test_get_comment_author_properties_user
()
tests/phpunit/test-fragment.php:401
Method
test_get_comment_meta_by_post_id
()
tests/phpunit/test-terms-in-comments.php:142
Method
test_get_comment_meta_default
()
tests/phpunit/test-terms-in-comments.php:114
Method
test_get_comment_meta_offset
()
tests/phpunit/test-terms-in-comments.php:213
← previous
next →
301–400 of 488, ranked by callers