[oik] plugins.co.uk

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

oik_shortcodes_init() – Implement "oik_fields_loaded" action for oik-shortcodes

You appear to be a bot. Output may be restricted

Description

Implement "oik_fields_loaded" action for oik-shortcodes

Register the custom post types, taxonomies and fields for oik-shortcodes

Usage

oik_shortcodes_init();

Parameters

Returns

void

Source

File name: oik-shortcodes/oik-shortcodes.php
Lines:

1 to 39 of 39
function oik_shortcodes_init() {
  oik_register_oik_shortcodes();
  oik_register_oik_sc_param();
  oik_register_oik_shortcode_example();
  //oik_register_oik_sc_mapping();
  oik_register_file();
  oik_register_class();
  oik_register_hook();
  oik_register_api();
  oik_register_parsed_source();
  //oik_register_parse_status();
  oik_register_component_version_field();
  oik_register_block_editor_stuff();


  
  add_action( 'the_content', "oiksc_the_content", 1, 1 );
  add_action( 'oik_admin_menu', 'oiksc_admin_menu' );
  add_filter( 'wp_insert_post_data', 'oiksc_wp_insert_post_data', 10, 2 );
  add_action( "oik_add_shortcodes", "oik_shortcodes_add_shortcodes" );
  
  
/**
 * We could move this logic to oik
 * but since we need oik-plugins, oik-themes and oik-shortcodes
 * all together it's just as good here as any.
 * 
 * For Gutenberg we no longer remove the wp_trim_excerpt filter function.
 * Perhaps we should add our filter earlier in the process! 
 */
  //remove_filter( "get_the_excerpt", "wp_trim_excerpt" );
  add_filter( "get_the_excerpt", "oik_get_the_excerpt", 9 );
  
  add_filter( "request", "oiksc_request" );
  add_action( "run_oik-shortcodes.php", "oiksc_run_oik_shortcodes" );
  add_action( "run_oik-create-codes.php", "oiksc_run_oik_create_codes" );
  add_action( "genesis_404", "oiksc_genesis_404" );
  
  //oik_shortcodes_define_shortcode_parameter_server();
}
 

 View on GitHub

Published: March 11, 2017 | Last updated: March 11, 2017

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: herb@bobbingwide.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Notice: genesis_footer_creds_text is deprecated since version 3.1.0! Use genesis_pre_get_option_footer_text instead. This filter is no longer supported. You can now modify your footer text using the Theme Settings. in /home/oikcouk/public_html/wp-includes/functions.php on line 4841

Site:  www.oik-plugins.co.uk
© Copyright oik-plugins 2011-2019. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 5.3. PHP: 7.3.12. Memory limit: 128M