Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
woocommerce-quick-donation
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wordpress
woocommerce-quick-donation
Commits
0334a3c3
Commit
0334a3c3
authored
Mar 29, 2016
by
Varun Sridharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed #67
parent
eb7bc3bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
woocommerce-quick-donation.php
woocommerce-quick-donation.php
+4
-3
No files found.
woocommerce-quick-donation.php
View file @
0334a3c3
...
...
@@ -56,6 +56,8 @@ class WooCommerce_Quick_Donation {
$this
->
load_required_files
();
register_activation_hook
(
__FILE__
,
array
(
'WC_QD_INSTALL'
,
'INIT'
)
);
add_action
(
'init'
,
array
(
$this
,
'init'
));
add_action
(
'plugins_loaded'
,
array
(
$this
,
'after_plugins_loaded'
));
add_filter
(
'load_textdomain_mofile'
,
array
(
$this
,
'load_plugin_mo_files'
),
10
,
2
);
}
/**
...
...
@@ -64,9 +66,8 @@ class WooCommerce_Quick_Donation {
public
function
init
(){
$this
->
check_donation_product_exist
();
$this
->
init_class
();
add_action
(
'plugins_loaded'
,
array
(
$this
,
'after_plugins_loaded'
));
add_filter
(
'load_textdomain_mofile'
,
array
(
$this
,
'load_plugin_mo_files'
),
10
,
2
);
add_action
(
'wp_enqueue_scripts'
,
array
(
$this
,
'enqueue_and_register_styles'
)
);
add_action
(
'wp_enqueue_scripts'
,
array
(
$this
,
'enqueue_and_register_styles'
)
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment