MCPcopy Create free account

hub / github.com/Automattic/o2 / functions

Functions488 in github.com/Automattic/o2

↓ 2 callersMethodrestore_text
( $text )
modules/checklists/load.php:323
↓ 2 callersFunctionsetWidth
()
js/editor/jquery.autoresize.js:104
↓ 2 callersMethodset_post_state
* Set a post state * * @param int The post ID * @param string The state slug, or an empty string to unset the state */
modules/to-do/load.php:225
↓ 2 callersFunctionstripUnsafeHTML
( html, context )
js/utils/raw-to-filtered.js:39
↓ 2 callersMethodtime_shortcode
* Process the time shortcode * * @param array $attr - parse relative to current time if any attribute is set * @param string $content - Any vali
modules/time-shortcode/load.php:33
↓ 2 callersFunctiontimezoneMinutesFromString
(string)
js/utils/moment.js:970
↓ 2 callersMethodupdate_orphan_attachments
* Called after creating/editing to link orphan attachments to post/comment parent */
inc/write-api.php:522
↓ 2 callersMethodupdate_terms
( $post_id )
inc/terms-in-comments.php:78
↓ 2 callersMethodxpost_links
* Parses and links mentions within a string. * Run on the_content. * * @param string $content The content. * @return string The linked content
inc/xposts.php:180
↓ 1 callersFunctionaddTimeToArrayFromToken
(token, input, config)
js/utils/moment.js:979
↓ 1 callersMethodadd_audit_log
* Add an audit log entry to the post's audit logs in meta * * @param int The post ID * @param array Arguments for the audit log */
modules/to-do/load.php:410
↓ 1 callersMethodadd_existing_widget
( $widget_base_and_instance, $area = '' )
inc/widget-helper.php:106
↓ 1 callersMethodadd_query_vars
* Add our special query vars (i.e. for login complete) */
o2.php:773
↓ 1 callersMethodappend_old_tags_raw
* Append the tags of old posts to the end of the post, as a comma separated list. * * @param string $content The raw content to be processed * @
inc/tags.php:90
↓ 1 callersFunctionargs
( elem )
js/utils/jquery.placeholder.js:88
↓ 1 callersMethodchange_post_state
* Process a post's state change by updating the post state and adding an audit log * * @param int The post ID * @param string The next state slu
modules/to-do/load.php:468
↓ 1 callersMethodcreate_comment
* Handle a few different variations of writing a comment. */
inc/nopriv-write-api.php:77
↓ 1 callersFunctioncurrentDateArray
(config)
js/utils/moment.js:1188
↓ 1 callersFunctiondateFromObject
(config)
js/utils/moment.js:1167
↓ 1 callersFunctiongetParseRegexForToken
(token, config)
js/utils/moment.js:905
↓ 1 callersMethodget_comments
* Return an array of recent comments */
inc/read-api.php:372
↓ 1 callersMethodget_current_page_title
* */
o2.php:711
↓ 1 callersMethodget_current_user_mention
()
modules/checklists/load.php:480
↓ 1 callersMethodget_data
()
inc/xposts.php:307
↓ 1 callersMethodget_filters
()
modules/filter-widget/load.php:64
↓ 1 callersMethodget_first_unused_instance_num
* Give a widget's base name, return the first unused instance number * for that widget */
inc/widget-helper.php:219
↓ 1 callersMethodget_i18n_moment
* Transforms the WP_Locale translations for the Moment.js JavaScript class. * * @param $locale WP_Locale - A locale object * @param $json_encode
o2.php:952
↓ 1 callersMethodget_object_content
( $object_type, $object_ID )
modules/checklists/load.php:506
↓ 1 callersMethodget_posts
* Return an array of recent posts */
inc/read-api.php:261
↓ 1 callersMethodget_settings
* Set o2_option defaults, merge with get_theme_support, merge with pre-existing o2_options */
o2.php:564
↓ 1 callersMethodget_state
* Get state object by slug * * @param string The state slug * @return object The state object */
modules/to-do/load.php:81
↓ 1 callersMethodinit
* Set the hooks for handling the time shortcode **/
modules/time-shortcode/load.php:20
↓ 1 callersMethodinit
()
inc/read-api.php:4
↓ 1 callersFunctioninitMirror
()
js/editor/jquery.autoresize.js:126
↓ 1 callersMethodinit_comment
* Get things set up to handle a comment. We need to hook into some things because * we use the core file (wp-comments-post.php) to do all the proces
inc/write-api.php:275
↓ 1 callersMethodinit_comment
* Get things set up to handle a comment. We need to hook into some things because * we use the core file (wp-comments-post.php) to do all the proces
inc/nopriv-write-api.php:49
↓ 1 callersFunctionisArray
* Helper function for determining whether target object is an array * * @param target the object under test * @return {Boolean} true if
js/utils/enquire.js:51
↓ 1 callersFunctionisDate
(input)
js/utils/moment.js:402
↓ 1 callersFunctionisFunction
* Helper function for determining whether target object is a function * * @param target the object under test * @return {Boolean} true
js/utils/enquire.js:61
↓ 1 callersMethodis_animated_gif
* is_animated_gif * Based on http://www.php.net/manual/en/function.imagecreatefromgif.php#104473 * An animated gif contains multiple "frames", wit
inc/write-api.php:506
↓ 1 callersFunctionloadLang
(key, values)
js/utils/moment.js:765
↓ 1 callersFunctionmakeDateFromInput
(config)
js/utils/moment.js:1346
↓ 1 callersFunctionmakeDateFromString
(config)
js/utils/moment.js:1316
↓ 1 callersFunctionmakeDateFromStringAndArray
(config)
js/utils/moment.js:1273
↓ 1 callersFunctionmakeDurationGetter
(name)
js/utils/moment.js:2225
↓ 1 callersFunctionmakeFormatFunction
(format)
js/utils/moment.js:845
↓ 1 callersFunctionmakeList
(field)
js/utils/moment.js:448
↓ 1 callersFunctionmakeUTCDate
(y)
js/utils/moment.js:1380
↓ 1 callersFunctiono2_default_post_action_html
( $html, $action )
inc/template-tags.php:205
↓ 1 callersFunctiono2_get_post_actions
( $post_ID = false )
inc/template-tags.php:278
↓ 1 callersFunctiono2_get_time_settings
()
tests/qunit/modules/time-shortcode.js:4
↓ 1 callersFunctionordinalizeToken
(func, period)
js/utils/moment.js:258
↓ 1 callersMethodpost_flair_mute
()
o2.php:172
↓ 1 callersMethodprocess_xcomment
* Fires when the comment is published * * Creates a new X-Post if nothing in the origin's post has been X-Posted before. * Creates a new X-Comme
inc/xposts.php:396
↓ 1 callersFunctionregexpEscape
(s)
js/utils/moment.js:1268
↓ 1 callersMethodregister_plugin_styles
()
o2.php:177
↓ 1 callersFunctionrelativeTime
(milliseconds, withoutSuffix, lang)
js/utils/moment.js:1413
↓ 1 callersFunctionremoveFormattingTokens
Formatting
js/utils/moment.js:838
↓ 1 callersFunctionremoveUnsafeNodes
( node, context )
js/utils/raw-to-filtered.js:75
↓ 1 callersMethodremove_widget
( $widget_base_and_instance, $area = '' )
inc/widget-helper.php:127
↓ 1 callersFunctionrunProgress
()
js/editor/editor.js:901
↓ 1 callersMethodrun_browser_check
* Check for IE8, IE9 and inject a little Javascript to warn of compatibility issues */
o2.php:867
↓ 1 callersFunctionunescapeFormat
(s)
js/utils/moment.js:1261
↓ 1 callersFunctionunloadLang
(key)
js/utils/moment.js:775
↓ 1 callersMethodupdate_comment_terms
* Returns the new comment terms. * Implement in a subclass! * * @param int $comment_id * @param object $comment * @return array The comment
inc/terms-in-comments.php:51
↓ 1 callersMethodupdate_object_content
( $object_type, $object_ID, $updated_content )
modules/checklists/load.php:518
↓ 1 callersMethodupdate_post_terms
* Returns the new post terms. * Implement in a subclass! * * @param int $post_id * @param object $post * @return array The post terms. */
inc/terms-in-comments.php:76
↓ 1 callersMethodwrite_comment
* Handle a few different variations of writing a comment. */
inc/write-api.php:325
↓ 1 callersMethodwrite_post
( $message, $method )
inc/write-api.php:73
↓ 1 callersMethodwrite_upload
* * Ceate an attachment for images and return image tag or gallery shortcode to be rendered in the editor */
inc/write-api.php:412
FunctionDateMock
* A spoof of the Date object * Use this instead of normal Date objects to have exact control over the timezone and other properties * @param weekday
tests/qunit/modules/time-shortcode.js:43
FunctionDuration
(duration)
js/utils/moment.js:290
FunctionLanguage
Constructors
js/utils/moment.js:279
FunctionMediaQuery
* Represents a single media query, manages it's state and registered handlers for this query * * @constructor * @param {string} query t
js/utils/enquire.js:141
FunctionMediaQueryDispatch
* Allows for registration of query handlers. * Manages the query handler's state and is responsible for wiring up browser events * * @c
js/utils/enquire.js:224
FunctionMoment
(config)
js/utils/moment.js:284
FunctionQueryHandler
* Delegate to handle a media query being matched and unmatched. * * @param {object} options * @param {function} options.match callback
js/utils/enquire.js:75
Method__construct
* Initializes the plugin by setting localization, filters, and administration functions. */
o2.php:47
Method__construct
()
modules/notifications/load.php:10
Method__construct
()
modules/post-actions/load.php:4
Method__construct
()
modules/sticky-posts/load.php:10
Method__construct
()
modules/performance/inc/class-o2-basic-timers.php:4
Method__construct
()
modules/performance/inc/class-o2-performance-monitor.php:4
Method__construct
()
modules/filter-widget/load.php:6
Method__construct
()
modules/recent-comments/load.php:4
Method__construct
()
modules/live-comments/load.php:4
Method__construct
()
modules/checklists/load.php:550
Method__construct
()
modules/checklists/load.php:558
Method__construct
()
modules/to-do/load.php:21
Method__construct
()
modules/to-do/inc/class-to-do-widget.php:14
Method__construct
()
modules/unreplied-posts/load.php:4
Method__construct
()
modules/offline/load.php:4
Method__construct
()
modules/suggestions/load.php:4
Method__construct
()
modules/follow/load.php:10
Method__construct
()
inc/widget-helper.php:9
Method__construct
()
inc/search.php:10
Method__construct
( $taxonomy, $meta_key = false )
inc/terms-in-comments.php:10
Method__construct
()
inc/xposts.php:19
Method__construct
()
inc/editor.php:4
Method__construct
()
inc/templates.php:8
← previousnext →101–200 of 488, ranked by callers