This file contains hidden or 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 | |
| defined( 'ABSPATH' ) || exit; | |
| /** | |
| * Dokan 2.9.4 updater class | |
| * | |
| * @since 2.9.4 | |
| */ | |
| class Dokan_Update_2_9_21_Variation_Product_Vendor extends Abstract_Dokan_Background_Processes { |
This file contains hidden or 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 | |
| defined( 'ABSPATH' ) || exit; | |
| /** | |
| * Dokan 2.9.4 updater class | |
| * | |
| * @since 2.9.4 | |
| */ | |
| class Dokan_Update_2_9_21_Variation_Product_Vendor extends Abstract_Dokan_Background_Processes { |
This file contains hidden or 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 | |
| /** | |
| * Dokan get seller amount from order total | |
| * | |
| * @param int $order_id | |
| * | |
| * @return float | |
| */ | |
| function dokan_get_seller_amount_from_order( $order_id, $get_array = false ) { |
This file contains hidden or 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 | |
| /** | |
| * The Template for displaying all single posts. | |
| * | |
| * @package dokan | |
| * @package dokan - 2014 1.0 | |
| */ | |
| if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
This file contains hidden or 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
| /** | |
| * Refresh the media library on image upload. | |
| * So, it doesn't show previously uploaded images on new uploads | |
| */ | |
| export const refreshMediaLibrary = () => { | |
| wp?.media?.frame?.content?.get?.()?.collection?.props?.set?.( { ignore: ( +new Date() ) } ); | |
| }; |
OlderNewer