Thread Starter
cudjex
(@cudjex)
I think the issue is not related with $request or $params etc. Because this is not working too:
function action_rest_insert_post( $post, $request, $update ) {
update_post_meta($post->ID, 'ib_landing_params', 'test');
}
add_action("rest_insert_post", "action_rest_insert_post", 10, 3);
I tried all ways and gave up lol 🙂
-
This reply was modified 4 years, 3 months ago by cudjex.
Thread Starter
cudjex
(@cudjex)
Actually I have tried with 10, 3 params too. Also I tried with my custom post types, it didnt work again.. Interesting really. I am adding dd(), var_dump() etc. to callback function but there is no error again.
background:url(images/bg.png);
we should know content are div of twenty eleven