Lines:
1 to 100 of 119
<?php // (C) Copyright Bobbing Wide 2010-2018 /** * Company information * * namespace bw_oik; */ /* function bw_get_cms_type() – Determine the CMS type */ /* function bw_is_wordpress() – Return true if the CMS is WordPress */ /* function bw_is_drupal() – Return true if the CMS is Drupal */ if ( bw_is_wordpress() ) { if ( !function_exists( "bw_get_option" ) ) { /* function bw_get_option() – Get the value of an option field */ } } else { /* * Notice the trailing underscore - used to prevent these alternative APIs from being automatically documented */ oik_require( "bobbnotwp.inc_" ); } /* function bw_prepare_shortcode_atts() – **?** Should we allow the $atts array to be pre-mangled. Can we add useful objects? */ /* function bw_get_user_field() – Given a valid user ID return the required field, which may be from a set such as bw_options */ /* function bw_get_user() – Return user information */ /* function bw_get_user_option() – Return a user option field – which may come from a composite field */ /* function bw_default_user() – Return the default user ID */ /* function bw_get_current_user_id() – Return the current user ID if there is one */ /* function bw_get_option_arr() – Retrieve the requested option value depending on the $atts array */ /* function bw_get_me() – Return the tooltip value for "me" */ /* function bw_output() – Display the value of a ‘field’ in a span with a class of the field name */ /* function bw_clear() – Implement the [clear] shortcode to create a div to clear the floats */ /* function bw_oik() – Implement the [oik] shortcode */ /* function bw_oik_long() – bw_oik_long – spells out the expanded backronym for OIK */ /* function bw_sdiv() – Start a div tag Use in conjunction with ediv to add custom divs in pages, posts or blocks e.g. [div class="blah"]blah goes here[ediv] */ /* function bw_ediv() – End a div tag */ /* function bw_sediv() – Create an empty div for a particular set of classes, id or both e.g. [sediv class="bd-100"] */ /* function bw_default_empty_att() – Set a default value for an empty attribute value from the oik options or a hardcoded value */ if ( !function_exists( "bw_array_get_dcb" ) ) { /* function bw_array_get_dcb() – Return the array[index] or build the result by calling $callback, passing the $default as the arg. */ } /* function bw_default_empty_arr() – Set a default value for an empty array[ index] */ if (!function_exists( 'bw_wp_title' )) { /* function bw_wp_title() – return a nice SEO title taking into account which plugins are being used */ } /** * Functions moved to other locations * Moved bw_blockquote to shortcodes/oik-blockquote.php * Moved bw_cite to shortcodes/oik-cite.php */ /* function bw_year_range() – Formats a range of years */ /* function bw_get_yearfrom() – Determines the date of the blog from the date of the earliest registered user */ /* function bw_get_users() – Simple wrapper to get_users */ if ( !function_exists( "bw_user_array" ) ) { /* function bw_user_array() – Build a simple ID, title array from an array of $user objects */ /* function bw_user_list() – Return an associative array of all users */ } /* function bw_copyright() – Displays the copyright statement for the company */ /* function bw_stag() – */ /* function bw_etag() – */ if ( !function_exists( 'bw_array_get_from')) {View on GitHub View on Trac
Called by
Invoked by
Calls
1 to 2 of 2