Skip to content

Commit c104087

Browse files
author
Sabbir Ahmed
authored
Merge pull request #585 from sayedulsayem/sayem-theme
some hooks added for theme development
2 parents 8686c02 + b06fae8 commit c104087

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

data/wordpress-theme-development.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,23 @@
262262
"code": "<php endif; ?>"
263263
}
264264
]
265+
},
266+
{
267+
"title": "Hooks এবং Filters",
268+
"items": [
269+
{
270+
"definition": "থিম লোড হওয়ার আগে কিছু করতে চাইলে।",
271+
"code": "add_action('setup_theme', 'callback_function')"
272+
},
273+
{
274+
"definition": "থিম লোড হওয়ার সাথে সাথে কিছু করতে চাইলে।",
275+
"code": "add_action('after_setup_theme', 'callback_function')"
276+
},
277+
{
278+
"definition": "ওয়ার্ডপ্রেস সম্পুর্ণ লোড হওয়ার পরে কিছু করতে চাইলে।",
279+
"code": "add_action('wp_loaded', 'callback_function')"
280+
}
281+
]
265282
}
266283
]
267284
}

0 commit comments

Comments
 (0)