New answers tagged actions
0
votes
How to run an ajax call in elementor editor
In my option, you cant use function of widgets class as ajax callback because widget class should be initiated again.
0
votes
What is the best filter where to use register_block_type?
In the developer docs they've always used the init hook and it's always worked for me.
Extracted from that source:
function create_block_gutenpride_block_init() {
register_block_type( __DIR__ . '/...
Top 50 recent answers are included
Related Tags
actions × 1437hooks × 456
filters × 312
plugins × 205
functions × 175
plugin-development × 166
php × 116
custom-post-types × 66
woocommerce-offtopic × 66
posts × 57
customization × 55
ajax × 49
theme-development × 38
save-post × 37
wp-enqueue-script × 35
wp-admin × 33
admin × 32
oop × 30
wp-query × 29
themes × 29
post-meta × 29
login × 29
forms × 29
wp-head × 26
shortcode × 24