UPDATE: https://www.phpdocx.com/documentation/snippets/remove-image-contains-placeholder
Hello, You can use the removeTemplateVariable method to remove a placeholder and its container paragraph. Please check the API doc: http://www.phpdocx.com/api-documentation/templates/remove-template-variable Regards.