WordPress and Drupal Functions and Hooks Similarities – Part 2


WordPress Drupal
action:wp_enqueue_scripts drupal_add_js(), drupal_add_css()
action:post_updated hook_node_update()
action: register_activation_hook() hook_install()
action:delete_user hook_user_delete()
add_option(),update_option() variable_set()
get_option() variable_get()
action:delete_term hook_taxonomy_term_delete()

You may also like