meta get
Usage
seo-ops meta get <post-id> <field> [--path=<path>]
Get the value of one SEO meta field for a specific post.
Examples
# Get SEO title for post 123
seo-ops meta get 123 title --path=/var/www/html
# My SEO Optimized Page Title
# Get meta description
seo-ops meta get 123 description --path=/var/www/html
# This is the meta description for my post
# Get canonical URL
seo-ops meta get 123 canonical --path=/var/www/html
# https://example.com/my-post
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Invalid path or WordPress not found |
| 2 | Missing argument |
| 4 | WordPress path not configured |