We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've got an issue On lesson 31 - How to Edit a Custom Post Type. I created the form with the edit button as shown:
echo test:
<?php settings_errors(); if(isset($_POST['edit'])) { echo $_POST['post_type']; } ?>
The edit form:
<form action="" method="post" class="inline-block"> <input type="hidden" name="post_type" value="<?= $option['post_type'] ?>"> <?php submit_button( 'Edit', 'primary small edit', 'edit', false); ?> </form>
When I click on the edit button, I get this error:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've got an issue On lesson 31 - How to Edit a Custom Post Type.
I created the form with the edit button as shown:
echo test:
<?php settings_errors(); if(isset($_POST['edit'])) { echo $_POST['post_type']; } ?>
The edit form:
When I click on the edit button, I get this error:
The text was updated successfully, but these errors were encountered: