This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Prevent direct file access. | |
defined( 'ABSPATH' ) || die; | |
/** | |
* Add MSN News feed. | |
* Flush permalinks after adding this feed. | |
* | |
* @return void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Prevent direct file access. | |
defined( 'ABSPATH' ) || die; | |
/** | |
* The main plugin class. | |
* | |
* @version 0.1.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Exit if accessed directly. | |
if ( ! defined( 'ABSPATH' ) ) exit; | |
if ( ! class_exists( 'Mai_WooCommerce_Account_Tab' ) ): | |
/** | |
* A class to create new WooCommerce account tabs. | |
* | |
* @version 0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Prevent direct file access. | |
defined( 'ABSPATH' ) || die; | |
/** | |
* WP-CLI to delete all content. | |
* | |
wp post delete $(wp post list --post_type=post --format=ids) --force | |
wp post delete $(wp post list --post_type=page --format=ids) --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Prevent direct file access. | |
defined( 'ABSPATH' ) || die; | |
if ( ! class_exists( 'Mai_User_Role_Base' ) ): | |
/** | |
* The User Role Base class. | |
* | |
* @version 0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Mai WooCommerce Permalink Silos. | |
* | |
* @version 1.2.0 | |
* | |
* @package BizBudding\MaiWooCommercePermalinkSilos | |
* @link https://bizbudding.com | |
* @author BizBudding | |
* @copyright Copyright © 2023 BizBudding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'enqueue_block_editor_assets', 'mai_enqueue_block_editor_assets' ); | |
/** | |
* Enqueues block assets for the editor, | |
* since front-end assets are loaded on-demand. | |
* | |
* @since TBD | |
* | |
* @return void |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Dump the data. | |
*/ | |
add_action( 'wp_footer', function() { | |
// Get the data. | |
$parsed = jivedig_get_parsed_blocks_for_template(); | |
// Dump however you'd like. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:acf/mai-columns {"name":"acf/mai-columns","data":{"columns":"custom","_columns":"mai_columns_columns","arrangement_0_columns":"1/2","_arrangement_0_columns":"mai_columns_arrangement_columns","arrangement":1,"_arrangement":"mai_columns_arrangement","arrangement_md_0_columns":"full","_arrangement_md_0_columns":"mai_columns_md_arrangement_columns","arrangement_md":1,"_arrangement_md":"mai_columns_md_arrangement","arrangement_sm_0_columns":"full","_arrangement_sm_0_columns":"mai_columns_sm_arrangement_columns","arrangement_sm":1,"_arrangement_sm":"mai_columns_sm_arrangement","arrangement_xs_0_columns":"full","_arrangement_xs_0_columns":"mai_columns_xs_arrangement_columns","arrangement_xs":1,"_arrangement_xs":"mai_columns_xs_arrangement","align_columns":"start","_align_columns":"mai_columns_align_columns","align_columns_vertical":"","_align_columns_vertical":"mai_columns_align_columns_vertical","column_gap":"","_column_gap":"mai_columns_column_gap","row_gap":"","_row_gap":"mai_columns_row_gap","margin_top" |
NewerOlder