Getting the sample permalink to print to error_log
-
I’m trying to write a plugin, and as I develop, one of the things I need to do is to print the https://rvtechsolutions.com/wp-content/uploads/2013/06/Change-URL1.jpg permalink preview to the console. I have tried the functions get_sample_permalink_html, get_permalink, get_preview_post_link, and I cannot get ANYTHING to print to the error log. I’ve tried using $post, $post_ID, and others as parameters. The plugin runs as a metabox on post.php.
How can I achieve this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Getting the sample permalink to print to error_log’ is closed to new replies.