Description
Invoke require_once on an oik include file or other file
Usage
oik_require( $include_file, $plugin );Parameters
- $include_file
- ( string ) optional default: bobbfunc.inc – the include file (or any other file) that you want to load
- $plugin
- ( string ) optional default: oik – the plugin in which the file is located (default="oik")
Returns
voidSource
File name: oik/libs/oik_boot.phpLines:
1 to 7 of 7
function oik_require( $include_file = "bobbfunc.inc", $plugin="oik" ) { $path = oik_path( $include_file, $plugin ); if ( !file_exists( $path ) ) { bw_log( $path, "path", true, "oik_yourehavingmeon" ); } require_once( $path ); }View on GitHub View on Trac
Called by
1 to 15 of 149
- admin/class-oik-clone-informal-relationships-source.php
- admin/class-oik-clone-informal-relationships-target.php
- admin/class-oik-clone-tree.php
- admin/oik-create-apis.php
- admin/oik-rwd-mq.php
- bw_accordion() – Display pages styled for jQuery accordion
- bw_block_func() – Return the block function to invoke for the shortcode and active level of Artisteer
- bw_bw() – Implements [bw] shortcode
- bw_countdown() – Implement the [bw_countdown] shortcode
- bw_cycle() – Implement bw_cycle shortcode that will handle all the things that we’ve had to do by hand until now
- bw_cycle__syntax() – Syntax hook for [bw_cycle] shortcode
- bw_default_title_arr() – Build a default title_arr from the field_arr
- bw_display_contact_form() – Show/process a contact form using oik
- bw_effort_meta_boxes() – Create "Fields" meta box for each field associated with each object type in the mapping
- bw_field_function_attachment() – Format links to the Attachment(s) (format=A)
Invoked by
Calls
1 to 2 of 2
