{"id":7482,"date":"2013-03-05T11:27:59","date_gmt":"2013-03-05T11:27:59","guid":{"rendered":"http:\/\/www.oik-plugins.com\/?page_id=7482"},"modified":"2013-03-05T11:27:59","modified_gmt":"2013-03-05T11:27:59","slug":"oik-header-apis","status":"publish","type":"page","link":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/","title":{"rendered":"oik-header APIs"},"content":{"rendered":"Application Programming Interfaces for the <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/oik-header-custom-header-image\/\" title=\"Link to the oik-header (oik-header: custom header image) plugin\">oik-header<\/a><\/span> plugin\r\n\r\n<ul class=\"bw_list\"><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_getimagesize\/\">bw_getimagesize() <span class=\"summary\">&#8211; get the image size given the URL<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_image\/\">bw_header_theme_mod_header_image() <span class=\"summary\">&#8211; Dummy filter for theme_mod_header_image &#8211; adds the &quot;wp_footer&quot; action for themes that don&#8217;t use get_header_image()<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_imagetwentyeleven\/\">bw_header_theme_mod_header_imagetwentyeleven() <span class=\"summary\">&#8211; Filter for the Twenty Eleven theme<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_imagetwentyten\/\">bw_header_theme_mod_header_imagetwentyten() <span class=\"summary\">&#8211; Filter for theme_mod_header_image for the twentyten theme<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_imagetwentytwelve\/\">bw_header_theme_mod_header_imagetwentytwelve() <span class=\"summary\">&#8211; Filter for theme_mod_header_image for the twentytwelve theme<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_page_header_style\/\">bw_page_header_style() <span class=\"summary\">&#8211; Dynamically add CSS for the header background image if the custom field is set<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_theme_function\/\">bw_theme_function() <span class=\"summary\">&#8211; Return the function name to be used to &#8216;theme&#8217; the output<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_theme_page_header\/\">bw_theme_page_header() <span class=\"summary\">&#8211; Locate and call the function to &quot;theme&quot; the custom page header image<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/oik_header_activation\/\">oik_header_activation() <span class=\"summary\">&#8211; oik header activation<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/oik_header_admin_menu\/\">oik_header_admin_menu() <span class=\"summary\">&#8211; Relocate the plugin to become its own plugin and set the plugin server<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/oik_header_init\/\">oik_header_init() <span class=\"summary\">&#8211; oik header init<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_header_theme_mod_header_image\/\">_bw_header_theme_mod_header_image() <span class=\"summary\">&#8211; Implement the &quot;theme_mod_header_image&quot; filter to replace the header image file name<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_page_header_\/\">_bw_page_header_() <span class=\"summary\">&#8211; Add CSS to display the custom header as a background image<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_page_header_twentyeleven\/\">_bw_page_header_twentyeleven() <span class=\"summary\">&#8211;  bw page header twentyeleven<\/span><\/a><\/li><li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_page_header_twenty_eleven\/\">_bw_page_header_twenty_eleven() <span class=\"summary\">&#8211; Generate the CSS to display a custom page header for the twenty eleven theme<\/span><\/a><\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>Application Programming Interfaces for the <span class=\"bw_plug\"><a class=\"plugin\" href=\"https:\/\/www.oik-plugins.com\/oik-plugins\/oik-header-custom-header-image\/\" title=\"Link to the oik-header (oik-header: custom header image) plugin\">oik-header<\/a><\/span> plugin<\/p>\n<ul class=\"bw_list\">\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_getimagesize\/\">bw_getimagesize() <span class=\"summary\">&#8211; get the image size given the URL<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_image\/\">bw_header_theme_mod_header_image() <span class=\"summary\">&#8211; Dummy filter for theme_mod_header_image &#8211; adds the &quot;wp_footer&quot; action for themes that don&#8217;t use get_header_image()<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_imagetwentyeleven\/\">bw_header_theme_mod_header_imagetwentyeleven() <span class=\"summary\">&#8211; Filter for the Twenty Eleven theme<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_imagetwentyten\/\">bw_header_theme_mod_header_imagetwentyten() <span class=\"summary\">&#8211; Filter for theme_mod_header_image for the twentyten theme<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_header_theme_mod_header_imagetwentytwelve\/\">bw_header_theme_mod_header_imagetwentytwelve() <span class=\"summary\">&#8211; Filter for theme_mod_header_image for the twentytwelve theme<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_page_header_style\/\">bw_page_header_style() <span class=\"summary\">&#8211; Dynamically add CSS for the header background image if the custom field is set<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_theme_function\/\">bw_theme_function() <span class=\"summary\">&#8211; Return the function name to be used to &#8216;theme&#8217; the output<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/bw_theme_page_header\/\">bw_theme_page_header() <span class=\"summary\">&#8211; Locate and call the function to &quot;theme&quot; the custom page header image<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/oik_header_activation\/\">oik_header_activation() <span class=\"summary\">&#8211; oik header activation<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/oik_header_admin_menu\/\">oik_header_admin_menu() <span class=\"summary\">&#8211; Relocate the plugin to become its own plugin and set the plugin server<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/oik_header_init\/\">oik_header_init() <span class=\"summary\">&#8211; oik header init<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_header_theme_mod_header_image\/\">_bw_header_theme_mod_header_image() <span class=\"summary\">&#8211; Implement the &quot;theme_mod_header_image&quot; filter to replace the header image file name<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_page_header_\/\">_bw_page_header_() <span class=\"summary\">&#8211; Add CSS to display the custom header as a background image<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_page_header_twentyeleven\/\">_bw_page_header_twentyeleven() <span class=\"summary\">&#8211;  bw page header twentyeleven<\/span><\/a><\/li>\n<li><a href=\"https:\/\/www.oik-plugins.com\/oik_api\/_bw_page_header_twenty_eleven\/\">_bw_page_header_twenty_eleven() <span class=\"summary\">&#8211; Generate the CSS to display a custom page header for the twenty eleven theme<\/span><\/a><\/li>\n<\/ul>\n","protected":false},"author":1,"featured_media":0,"parent":1771,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"letters":[513],"class_list":{"0":"post-7482","1":"page","2":"type-page","3":"status-publish","5":"letters-o","6":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>oik-header APIs - [oik] plugins.com<\/title>\n<meta name=\"description\" content=\"Summary of Application Programming Interfaces (APIs) for the oik-header WordPress plugin\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"oik-header APIs - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"Summary of Application Programming Interfaces (APIs) for the oik-header WordPress plugin\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/\",\"url\":\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/\",\"name\":\"oik-header APIs - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"datePublished\":\"2013-03-05T11:27:59+00:00\",\"description\":\"Summary of Application Programming Interfaces (APIs) for the oik-header WordPress plugin\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"APIs\",\"item\":\"https:\/\/www.oik-plugins.com\/apis\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"oik-header APIs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"oik-header APIs - [oik] plugins.com","description":"Summary of Application Programming Interfaces (APIs) for the oik-header WordPress plugin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/","og_locale":"en_US","og_type":"article","og_title":"oik-header APIs - [oik] plugins.com","og_description":"Summary of Application Programming Interfaces (APIs) for the oik-header WordPress plugin","og_url":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/","og_site_name":"[oik] plugins.com","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/","url":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/","name":"oik-header APIs - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"datePublished":"2013-03-05T11:27:59+00:00","description":"Summary of Application Programming Interfaces (APIs) for the oik-header WordPress plugin","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/apis\/oik-header-apis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"APIs","item":"https:\/\/www.oik-plugins.com\/apis\/"},{"@type":"ListItem","position":2,"name":"oik-header APIs"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/pages\/7482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/comments?post=7482"}],"version-history":[{"count":1,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/pages\/7482\/revisions"}],"predecessor-version":[{"id":7499,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/pages\/7482\/revisions\/7499"}],"up":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/pages\/1771"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=7482"}],"wp:term":[{"taxonomy":"letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/letters?post=7482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}