aamirkhatri
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Fixing WordPress
In reply to: Changing the “View page” link@kuckovic could you attach screenshots?
Forum: Developing with WordPress
In reply to: Accessing attributes in a dynamic block@echodrome try this and paste the output
function my_register() { register_block_type('quicklinks', array( 'render_callback' => 'my_blocks_render_quicklinks_block', 'attributes' => array( 'max_links' => array( 'type' => 'number', 'default' => 7 ), 'links' => array( 'type' => 'TEsting', ) ) )); }Forum: Developing with WordPress
In reply to: Accessing attributes in a dynamic blockyou can access all the posted variables by jQuery using:
print_r($_POST);
print_r($_GET);To find all the posted variables and values in your PHP file.
Forum: Developing with WordPress
In reply to: Problem with wp_insert_post‘post_ID’ => $page_id,
the above should be ID not post_ID.
- This reply was modified 5 years, 10 months ago by aamirkhatri.
Viewing 4 replies - 1 through 4 (of 4 total)